[]
Provides data to bind to and use in a custom Table column edit dialog.
public class XHTMLColumnItem : XHTMLItemBase
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.
The code below binds data in the XHTMLColumnItem item to GUI controls of a custom dialog form.
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");
}
Name | Description |
---|---|
HorizontalAlignment | Specifies horizontal alignment of the table column. |
Span | Gets or sets the number of columns in the table that each cell of the column spans. |
UseWidth | True, if column width is specified; otherwise false. |
VerticalAlignment | Specifies vertical alignment of the table column. |
WidthType | Specifies the units used to measure width. |
WidthValue | Gets or sets the integer value of the column's width. |
Name | Description |
---|---|
BuildXml() | For internal use only. |
ParseSourceNode() | For internal use only. |
StateEqual(XHTMLItemBase) | For internal use only. |