# C1.WPF.RichTextBox.C1InsertTableGrid

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1InsertTableGrid" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid" class="text-break">C1InsertTableGrid Class
</h1>
  <div class="markdown level0 summary"><p>A helper control for <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableTool.html">C1InsertTableTool</a>.</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><span class="xref">C1InsertTableGrid</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.Toolbar.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1InsertTableGrid_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;TableGrid&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;ConvertText&quot;, Type = typeof(ButtonBase))]
public class C1InsertTableGrid : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;TableGrid&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;ConvertText&quot;, Type:=GetType(ButtonBase))&gt;
Public Class C1InsertTableGrid
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid__ctor" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.-ctor.html#C1_WPF_RichTextBox_C1InsertTableGrid__ctor">C1InsertTableGrid()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.html">C1InsertTableGrid</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_CellSizeProperty" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.CellSizeProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.CellSizeProperty.html">CellSizeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.CellSize.html#C1_WPF_RichTextBox_C1InsertTableGrid_CellSize">CellSize</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_ColumnsProperty" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.ColumnsProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.ColumnsProperty.html">ColumnsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.Columns.html#C1_WPF_RichTextBox_C1InsertTableGrid_Columns">Columns</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_DropDownProperty" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.DropDownProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.DropDownProperty.html">DropDownProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.DropDown.html#C1_WPF_RichTextBox_C1InsertTableGrid_DropDown">DropDown</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_RichTextBoxProperty" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.RichTextBoxProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.RichTextBoxProperty.html">RichTextBoxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.RichTextBox.html#C1_WPF_RichTextBox_C1InsertTableGrid_RichTextBox">RichTextBox</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_RowsProperty" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.RowsProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.RowsProperty.html">RowsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.Rows.html#C1_WPF_RichTextBox_C1InsertTableGrid_Rows">Rows</a> dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_WPF_RichTextBox_C1InsertTableGrid_CellSize" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.CellSize">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.CellSize.html#C1_WPF_RichTextBox_C1InsertTableGrid_CellSize">CellSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of cell in the dropdown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_Columns" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.Columns">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.Columns.html#C1_WPF_RichTextBox_C1InsertTableGrid_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial number of columns in the cell grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_DropDown" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.DropDown">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.DropDown.html#C1_WPF_RichTextBox_C1InsertTableGrid_DropDown">DropDown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the dropdown of this tool.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_RichTextBox" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.RichTextBox">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.RichTextBox.html#C1_WPF_RichTextBox_C1InsertTableGrid_RichTextBox">RichTextBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="../C1.WPF.RichTextBox.4.6.2/C1.WPF.RichTextBox.C1RichTextBox.html">C1RichTextBox</a> associated with this tool.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_Rows" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.Rows">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.Rows.html#C1_WPF_RichTextBox_C1InsertTableGrid_Rows">Rows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial number of rows in the cell grid.</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_WPF_RichTextBox_C1InsertTableGrid_OnApplyTemplate" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.OnApplyTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.OnApplyTemplate.html#C1_WPF_RichTextBox_C1InsertTableGrid_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.html">C1InsertTableGrid</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1InsertTableGrid_OnKeyDown_System_Windows_Input_KeyEventArgs_" data-uid="C1.WPF.RichTextBox.C1InsertTableGrid.OnKeyDown(System.Windows.Input.KeyEventArgs)">
          <a class="xref" href="C1.WPF.RichTextBox.C1InsertTableGrid.OnKeyDown.html#C1_WPF_RichTextBox_C1InsertTableGrid_OnKeyDown_System_Windows_Input_KeyEventArgs_">OnKeyDown(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
