Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.8 Assembly / C1.Win.C1Editor.UICustomization Namespace / XHTMLRowItem Class
Members Example

In This Topic
    XHTMLRowItem Class
    In This Topic
    Provides data to bind to and use in a custom Table Row edit dialog.
    Object Model
    XHTMLRowItem Class
    Syntax
    'Declaration
     
    Public Class XHTMLRowItem 
       Inherits XHTMLItemBase
    public class XHTMLRowItem : XHTMLItemBase 
    Remarks

    Implementing a custom Table row dialog, you will receive an instance of the XHTMLRowItem class in the IRowItemDialog.BindData method. Use it to bind the data to the dialog's UI.

    Example
    The code below binds data in the XHTMLRowItem item to GUI controls of a custom dialog form.
    void IRowItemDialog.BindData(XHTMLRowItem item)
    {
        _cbxVerticalAlignment.DataBindings.Add("SelectedIndex", item, "VerticalAlignment");
        _cbxHorizontalAlignment.DataBindings.Add("SelectedIndex", item, "HorizontalAlignment");
    }
    Inheritance Hierarchy

    System.Object
       C1.Win.C1Editor.UICustomization.XHTMLItemBase
          C1.Win.C1Editor.UICustomization.XHTMLRowItem

    See Also