# GrapeCity.Spreadsheet.ITableStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_ITableStyles" data-uid="GrapeCity.Spreadsheet.ITableStyles" class="text-break">ITableStyles Interface
</h1>
  <div class="markdown level0 summary"><p>Represents styles that can be applied to a table.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_ITableStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITableStyles</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITableStyles</code></pre>
  </div>
  <h5 id="GrapeCity_Spreadsheet_ITableStyles_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Table styles replaces the existing auto format feature for formatting an entire table.</p>
</div>
  <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="GrapeCity_Spreadsheet_ITableStyles_Count" data-uid="GrapeCity.Spreadsheet.ITableStyles.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Count.html#GrapeCity_Spreadsheet_ITableStyles_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of objects in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_CustomStyleStartIndex" data-uid="GrapeCity.Spreadsheet.ITableStyles.CustomStyleStartIndex">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.CustomStyleStartIndex.html#GrapeCity_Spreadsheet_ITableStyles_CustomStyleStartIndex">CustomStyleStartIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the starting index of custom style(s).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInPivotStyles_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Item(GrapeCity.Spreadsheet.BuiltInPivotStyles)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Item.html#GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInPivotStyles_">this[BuiltInPivotStyles]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.ITableStyle.html">ITableStyle</a> with the specified pivot style name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInSlicerStyles_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Item(GrapeCity.Spreadsheet.BuiltInSlicerStyles)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Item.html#GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInSlicerStyles_">this[BuiltInSlicerStyles]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.ITableStyle.html">ITableStyle</a> with the specified slicer style name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInTableStyles_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Item(GrapeCity.Spreadsheet.BuiltInTableStyles)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Item.html#GrapeCity_Spreadsheet_ITableStyles_Item_GrapeCity_Spreadsheet_BuiltInTableStyles_">this[BuiltInTableStyles]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <span class="xref">GrapeCity.Spreadsheet.TableStyle</span> with the specified table style name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Item.html#GrapeCity_Spreadsheet_ITableStyles_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <span class="xref">GrapeCity.Spreadsheet.TableStyle</span> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ITableStyles_Item_System_String_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Item.html#GrapeCity_Spreadsheet_ITableStyles_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <span class="xref">GrapeCity.Spreadsheet.TableStyle</span> with the specified table style name.</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="GrapeCity_Spreadsheet_ITableStyles_Add_System_String_" data-uid="GrapeCity.Spreadsheet.ITableStyles.Add(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.ITableStyles.Add.html#GrapeCity_Spreadsheet_ITableStyles_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <span class="xref">GrapeCity.Spreadsheet.TableStyle</span> object and adds it to the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
