Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor.UICustomization Namespace / Bookmarks Class
Members Example

In This Topic
    Bookmarks Class
    In This Topic
    Represents a collection of bookmarks.
    Object Model
    Bookmarks Class
    Syntax
    'Declaration
     
    Public Class Bookmarks 
    public class Bookmarks 
    Remarks
    Use the XHTMLBookmarkItem.Bookmarks property to get a list of all bookmarks in the document.
    Example
    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;
        }
     }
    Inheritance Hierarchy

    System.Object
       C1.Win.C1Editor.UICustomization.Bookmarks

    See Also