[]
        
(Showing Draft Content)

C1.Win.C1Editor.UICustomization.Bookmarks.Count

Count Property

Count

Gets the number of bookmarks in the collection.

Declaration
public int Count { get; }
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;
 }