[]
Provides data to bind to and use in a custom Table Cell edit dialog.
public class XHTMLCellItem : XHTMLItemBase
Implementing a custom Table cell dialog, you will receive an instance of the XHTMLCellItem class in the BindData(XHTMLCellItem) method. Use it to bind the data to the dialog's UI.
The code below binds data in the XHTMLCellItem item to GUI controls of a custom dialog form.
void ICellItemDialog.BindData(XHTMLCellItem Item)
{
_cbxVerticalAlignment.SelectedIndex = (int)Item.VerticalAlignment;
_cbxHorizontalAlignment.SelectedIndex = (int)Item.HorizontalAlignment;
_nudColSpan.DataBindings.Add("Value", Item, "ColSpan");
_nudRowSpan.DataBindings.Add("Value", Item, "RowSpan");
_chbHeader.DataBindings.Add("Checked", Item, "IsHeader");
}
Name | Description |
---|---|
ColSpan | Gets or sets the number of columns in the table that the cell spans. |
HorizontalAlignment | Specifies horizontal alignment of the cell. |
IsHeader | Gets or sets a Boolean value indicating whether the cell belongs to a header. |
RowSpan | Gets or sets the number of rows in the table that the cell spans. |
VerticalAlignment | Specifies vertical alignment of the cell. |
Name | Description |
---|---|
BuildXml() | For internal use only. |
ParseSourceNode() | For internal use only. |
StateEqual(XHTMLItemBase) | For internal use only. |