[]
        
(Showing Draft Content)

C1.Win.C1Editor.UICustomization.Bookmarks.Item

this Property

this[int]

Gets the bookmark at the specified index.

Declaration
public Bookmark this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based index of the bookmark to get.

Property Value
Type Description
Bookmark

The bookmark at the specified index.

Examples

The code below checks if any bookmark has been deleted during editing in a custom bookmark dialog.

private bool HaveDeletedBookmarks(XHTMLBookmarkItem item)
{
    for (int i =item.Bookmarks.Count - 1; i >= 0; i--)
    if (item.Bookmarks[i].IsRemoved)
        return true;
    return false;
 }