'Declaration Public Class XHTMLBookmarkItem Inherits XHTMLItemBase
public class XHTMLBookmarkItem : XHTMLItemBase
'Declaration Public Class XHTMLBookmarkItem Inherits XHTMLItemBase
public class XHTMLBookmarkItem : XHTMLItemBase
Implementing a custom Bookmark dialog, you will receive an instance of the XHTMLBookmarkItem class in the IBookmarkItemDialog.BindData method. Use it to bind the data to the dialog's UI.
void IBookmarkItemDialog.BindData(XHTMLBookmarkItem item) { _tbName.DataBindings.Add("Text", item, "Name"); LoadBookmarks(item); ButtonOKEnabledChanged(this, EventArgs.Empty); } private void LoadBookmarks(XHTMLBookmarkItem item) { _tree.Nodes.Clear(); foreach (Bookmark bookmark in item.Bookmarks) { TreeNode node = _tree.Nodes.Add(bookmark.Name); node.Tag = bookmark; } UpdateToolbarState(); }
System.Object
C1.Win.C1Editor.UICustomization.XHTMLItemBase
C1.Win.C1Editor.UICustomization.XHTMLBookmarkItem