'Declaration Public Class XHTMLHyperlinkItem Inherits XHTMLItemBase
public class XHTMLHyperlinkItem : XHTMLItemBase
'Declaration Public Class XHTMLHyperlinkItem Inherits XHTMLItemBase
public class XHTMLHyperlinkItem : XHTMLItemBase
Implementing a custom Hyperlink dialog, you will receive an instance of the XHTMLHyperlinkItem class in the IHyperlinkItemDialog.BindData method. Use it to bind the data to the dialog's UI.
void IHyperlinkItemDialog.BindData(XHTMLHyperlinkItem item) { if (!string.IsNullOrEmpty(item.AccessKey) && item.AccessKey.Length > 1) item.AccessKey = item.AccessKey.Substring(0, 1); _tbText.DataBindings.Add("Text", item, "Text"); _tbLink.DataBindings.Add("Text", item, "Href"); _tbTitle.DataBindings.Add("Text", item, "Title"); _tbAccessKey.DataBindings.Add("Text", item, "AccessKey"); _tbTabIndex.DataBindings.Add("Value", item, "TabIndex"); _cmbTarget.DataBindings.Add("Text", item, "Target"); _tbText.Enabled = item.IsEmpty; _tbText_TextChanged(this, EventArgs.Empty); }
System.Object
C1.Win.C1Editor.UICustomization.XHTMLItemBase
C1.Win.C1Editor.UICustomization.XHTMLHyperlinkItem