# C1.Win.C1Editor.UICustomization.XHTMLTableItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Editor_UICustomization_XHTMLTableItem" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem" class="text-break">XHTMLTableItem Class
</h1>
  <div class="markdown level0 summary"><p>Provides data to bind to and use in a custom Table edit dialog.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLItemBase.html">XHTMLItemBase</a></div>
    <div class="level2"><span class="xref">XHTMLTableItem</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Editor.UICustomization.html">C1.Win.C1Editor.UICustomization</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Editor.4.8.dll</h6>
  <h5 id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XHTMLTableItem : XHTMLItemBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XHTMLTableItem
    Inherits XHTMLItemBase</code></pre>
  </div>
  <h5 id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Implementing a custom Table dialog, you will receive an instance of the 
            XHTMLtableItem class in the <a class="xref" href="C1.Win.C1Editor.UICustomization.ITableItemDialog.BindData.html#C1_Win_C1Editor_UICustomization_ITableItemDialog_BindData_C1_Win_C1Editor_UICustomization_XHTMLTableItem_">BindData(XHTMLTableItem)</a> method. 
            Use it to bind the data to the dialog's UI.</p>
</div>
  <h5 id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_examples"><strong>Examples</strong></h5>
  <p>The code below binds data in the <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.html">XHTMLTableItem</a> item to GUI controls of a custom dialog form.</p>
<pre><code class="lang-csharp">void ITableItemDialog.BindData(XHTMLTableItem item)
{
           _cbxWidthType.SelectedIndex = (int)Item.WidthType;
           _nudRowCount.DataBindings.Add("Value", Item, "RowCount");
           _nudColumnCount.DataBindings.Add("Value", Item, "ColumnCount");
           _tbWidthValue.DataBindings.Add("Value", Item, "WidthValue");
           _nudCellPadding.DataBindings.Add("Value", Item, "CellPadding");
           _nudCellSpacing.DataBindings.Add("Value", Item, "CellSpacing");
           _nudBorder.DataBindings.Add("Value", Item, "Border");
           _chkWidth.DataBindings.Add("Checked", Item, "UseWidth");
           _tbCaption.DataBindings.Add("Text", Item, "Caption");
           _tbSummary.DataBindings.Add("Text", Item, "Summary");
}</code></pre>

  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_Border" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Border">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Border.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or retrieves the width of the border to draw around the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_Caption" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Caption">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Caption.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_Caption">Caption</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or retrieves the caption of the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_CellPadding" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.CellPadding">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.CellPadding.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_CellPadding">CellPadding</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or retrieves the amount of space between the border of the cell and the content of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_CellSpacing" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.CellSpacing">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.CellSpacing.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_CellSpacing">CellSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or retrieves the amount of space between cells in the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_ColumnCount" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ColumnCount">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ColumnCount.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_ColumnCount">ColumnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of columns in the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_ColumnCountInitial" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ColumnCountInitial">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ColumnCountInitial.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_ColumnCountInitial">ColumnCountInitial</a>
        </td>
        <td class="markdown level1 summary"><p>Initial number of columns in the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_RowCount" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RowCount">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RowCount.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_RowCount">RowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of rows in the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_RowCountInitial" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RowCountInitial">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RowCountInitial.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_RowCountInitial">RowCountInitial</a>
        </td>
        <td class="markdown level1 summary"><p>Initial number of rows in the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_Summary" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Summary">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.Summary.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_Summary">Summary</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or retrieves a description of the table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_UseWidth" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.UseWidth">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.UseWidth.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_UseWidth">UseWidth</a>
        </td>
        <td class="markdown level1 summary"><p><b>True</b>, if the table width is specified; otherwise <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_WidthType" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.WidthType">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.WidthType.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_WidthType">WidthType</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the units used to measure width.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_WidthValue" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.WidthValue">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.WidthValue.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_WidthValue">WidthValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the integer value of the table width.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_BuildXml" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.BuildXml">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.BuildXml.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_BuildXml">BuildXml()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_GetNodeTemplate" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.GetNodeTemplate">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.GetNodeTemplate.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_GetNodeTemplate">GetNodeTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_ParseSourceNode" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ParseSourceNode">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.ParseSourceNode.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_ParseSourceNode">ParseSourceNode()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_RaiseItemPropertiesChanged" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RaiseItemPropertiesChanged">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.RaiseItemPropertiesChanged.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_RaiseItemPropertiesChanged">RaiseItemPropertiesChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_SetCustomSelection_C1_Win_C1Editor_C1TextRange_" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.SetCustomSelection(C1.Win.C1Editor.C1TextRange)">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.SetCustomSelection.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_SetCustomSelection_C1_Win_C1Editor_C1TextRange_">SetCustomSelection(C1TextRange)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_SetDefaults" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.SetDefaults">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.SetDefaults.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_SetDefaults">SetDefaults()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_UICustomization_XHTMLTableItem_StateEqual_C1_Win_C1Editor_UICustomization_XHTMLItemBase_" data-uid="C1.Win.C1Editor.UICustomization.XHTMLTableItem.StateEqual(C1.Win.C1Editor.UICustomization.XHTMLItemBase)">
          <a class="xref" href="C1.Win.C1Editor.UICustomization.XHTMLTableItem.StateEqual.html#C1_Win_C1Editor_UICustomization_XHTMLTableItem_StateEqual_C1_Win_C1Editor_UICustomization_XHTMLItemBase_">StateEqual(XHTMLItemBase)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.Win.C1Editor.UICustomization.CustomDialogs.TableDialog.html#C1_Win_C1Editor_UICustomization_CustomDialogs_TableDialog">TableDialog</a></div>
  </div>

</div>
