# GrapeCity.Documents.Word.TableStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_TableStyle" data-uid="GrapeCity.Documents.Word.TableStyle" class="text-break">TableStyle Class
</h1>
  <div class="markdown level0 summary"><p>Represents a style that can be applied to a table.</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="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.html">TableStyleBase</a></div>
    <div class="level3"><span class="xref">TableStyle</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_TableStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableStyle : TableStyleBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableStyle
    Inherits TableStyleBase</code></pre>
  </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_Documents_Word_TableStyle_Borders" data-uid="GrapeCity.Documents.Word.TableStyle.Borders">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyle.Borders.html#GrapeCity_Documents_Word_TableStyle_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the table borders formatting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyle_ColumnStripe" data-uid="GrapeCity.Documents.Word.TableStyle.ColumnStripe">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyle.ColumnStripe.html#GrapeCity_Documents_Word_TableStyle_ColumnStripe">ColumnStripe</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of columns that shall comprise each a table style column band for this table style.
This property determines how many columns constitute each of the column bands for the current table, allowing column band formatting to be applied to groups of columns
(rather than just single alternating columns) when the table is formatted.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyle_Conditionals" data-uid="GrapeCity.Documents.Word.TableStyle.Conditionals">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyle.Conditionals.html#GrapeCity_Documents_Word_TableStyle_Conditionals">Conditionals</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of <a class="xref" href="GrapeCity.Documents.Word.ConditionalStyle.html">ConditionalStyle</a> that represent special style formatting for a portion of a table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyle_RowStripe" data-uid="GrapeCity.Documents.Word.TableStyle.RowStripe">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyle.RowStripe.html#GrapeCity_Documents_Word_TableStyle_RowStripe">RowStripe</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of rows that shall comprise each a table style row band for this table style.
This property determines how many rows constitute each of the row bands for the current table, allowing row band formatting to be applied to groups of rows
(rather than just single alternating rows) when the table is formatted.</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_Documents_Word_TableStyle_ClearFormatting" data-uid="GrapeCity.Documents.Word.TableStyle.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyle.ClearFormatting.html#GrapeCity_Documents_Word_TableStyle_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets to default table style formatting.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
