# GrapeCity.Documents.Word.TableStyleBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_TableStyleBase" data-uid="GrapeCity.Documents.Word.TableStyleBase" class="text-break">TableStyleBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents base properties 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"><span class="xref">TableStyleBase</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.ConditionalStyle.html">ConditionalStyle</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.TableStyle.html">TableStyle</a></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_TableStyleBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableStyleBase : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableStyleBase
    Inherits FormattingBag</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_TableStyleBase_Alignment" data-uid="GrapeCity.Documents.Word.TableStyleBase.Alignment">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.Alignment.html#GrapeCity_Documents_Word_TableStyleBase_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of an inline table in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_AllowBreakAcrossPages" data-uid="GrapeCity.Documents.Word.TableStyleBase.AllowBreakAcrossPages">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.AllowBreakAcrossPages.html#GrapeCity_Documents_Word_TableStyleBase_AllowBreakAcrossPages">AllowBreakAcrossPages</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the content within the cells can be rendered on multiple pages.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_HeadingFormat" data-uid="GrapeCity.Documents.Word.TableStyleBase.HeadingFormat">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.HeadingFormat.html#GrapeCity_Documents_Word_TableStyleBase_HeadingFormat">HeadingFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a table row shall be repeated at the top of each new page on which part of this table is displayed.
This gives this table row the behavior of a 'header' row on each of these pages.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_Indent" data-uid="GrapeCity.Documents.Word.TableStyleBase.Indent">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.Indent.html#GrapeCity_Documents_Word_TableStyleBase_Indent">Indent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indentation (in points) that shall be added before the leading edge of the current table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_Padding" data-uid="GrapeCity.Documents.Word.TableStyleBase.Padding">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.Padding.html#GrapeCity_Documents_Word_TableStyleBase_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default paddings for all cells in the current table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_Shading" data-uid="GrapeCity.Documents.Word.TableStyleBase.Shading">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.Shading.html#GrapeCity_Documents_Word_TableStyleBase_Shading">Shading</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the shading that shall be applied to the extents of a table.
Similarly to paragraph shading, this shading shall be applied to the contents of the tab up to the table borders,
regardless of the presence of text - unlike cell shading, table shading shall include any cell padding.
This property shall be superseded by any cell-level shading.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_Spacing" data-uid="GrapeCity.Documents.Word.TableStyleBase.Spacing">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.Spacing.html#GrapeCity_Documents_Word_TableStyleBase_Spacing">Spacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default amount of space (in points) between the cells.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_VerticalAlignment" data-uid="GrapeCity.Documents.Word.TableStyleBase.VerticalAlignment">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.VerticalAlignment.html#GrapeCity_Documents_Word_TableStyleBase_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of text in cells.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_WordWrap" data-uid="GrapeCity.Documents.Word.TableStyleBase.WordWrap">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.WordWrap.html#GrapeCity_Documents_Word_TableStyleBase_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to wrap text in the cells.</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_TableStyleBase_ClearFormatting" data-uid="GrapeCity.Documents.Word.TableStyleBase.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.ClearFormatting.html#GrapeCity_Documents_Word_TableStyleBase_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets to default table style formatting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TableStyleBase_CopyFormatting_GrapeCity_Documents_Word_TableStyleBase_" data-uid="GrapeCity.Documents.Word.TableStyleBase.CopyFormatting(GrapeCity.Documents.Word.TableStyleBase)">
          <a class="xref" href="GrapeCity.Documents.Word.TableStyleBase.CopyFormatting.html#GrapeCity_Documents_Word_TableStyleBase_CopyFormatting_GrapeCity_Documents_Word_TableStyleBase_">CopyFormatting(TableStyleBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies formmating from this instance into another.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
