[]
Gets the bookmark at the specified index.
public Bookmark this[int index] { get; }
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the bookmark to get. |
Type | Description |
---|---|
Bookmark | The bookmark at the specified index. |
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;
}