[]
        
(Showing Draft Content)

C1.Win.C1Editor.UICustomization.Bookmarks

Bookmarks Class

Represents a collection of bookmarks.

Inheritance
Bookmarks
Namespace: C1.Win.C1Editor.UICustomization
Assembly: C1.Win.C1Editor.4.8.dll
Syntax
public class Bookmarks : IEnumerable<Bookmark>, IEnumerable
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.

private void LoadBookmarks(XHTMLBookmarkItem item)
{
    _tree.Nodes.Clear();
    foreach (Bookmark bookmark in item.Bookmarks)
    {
        TreeNode node = _tree.Nodes.Add(bookmark.Name);
        node.Tag = bookmark;
    }
 }

Properties

Name Description
Count

Gets the number of bookmarks in the collection.

this[int]

Gets the bookmark at the specified index.