List of all bookmarks of the document.

Namespace:  C1.Win.XmlEditor.UICustomization
Assembly:  C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)

Syntax

C#
public Bookmarks Bookmarks { get; }
Visual Basic (Declaration)
Public ReadOnly Property Bookmarks As Bookmarks

Remarks

Use the Bookmarks property to get a list of all bookmarks in the document.

Examples

The code below loads all bookmarks in a tree.
Copy CodeC#
privatevoid LoadBookmarks()
{
    _tree.Nodes.Clear();
    foreach (Bookmark bookmark in Item.Bookmarks)
    {
        TreeNode node = _tree.Nodes.Add(bookmark.Name);
        node.Tag = bookmark;
    }
 }

See Also