Provides data to bind to and use in a custom Table column edit dialog.
Namespace:
C1.Win.XmlEditor.UICustomizationAssembly: C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)
Syntax
| C# |
|---|
public class XHTMLColumnItem : XHTMLItemBase |
| Visual Basic (Declaration) |
|---|
Public Class XHTMLColumnItem _ Inherits XHTMLItemBase |
Remarks
Implementing a custom Table column dialog, you will receive an instance of the XHTMLColumnItem class in the BindData(XHTMLColumnItem) method. Use it to bind the data to the dialog's UI.
Examples
The code below binds data in the XHTMLColumnItem item to GUI controls of a custom dialog form.
Copy CodeC#
void IColumnItemDialog.BindData(XHTMLColumnItem item) { _cbxWidthType.SelectedIndex = (int)Item.WidthType; _cbxVerticalAlignment.SelectedIndex = (int)Item.VerticalAlignment; _cbxHorizontalAlignment.SelectedIndex = (int)Item.HorizontalAlignment; _nudSpan.DataBindings.Add("Value", Item, "Span"); _tbWidthValue.DataBindings.Add("Value", Item, "WidthValue"); _chkWidth.DataBindings.Add("Checked", Item, "UseWidth"); } |
Inheritance Hierarchy
System..::.Object
C1.Win.XmlEditor.UICustomization..::.XHTMLItemBase
C1.Win.XmlEditor.UICustomization..::.XHTMLColumnItem
C1.Win.XmlEditor.UICustomization..::.XHTMLItemBase
C1.Win.XmlEditor.UICustomization..::.XHTMLColumnItem