# GrapeCity.Spreadsheet.IStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IStyle" data-uid="GrapeCity.Spreadsheet.IStyle" class="text-break">IStyle Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the appearance of the cells in the worksheet.</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_IStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IStyle</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_Spreadsheet_IStyle_Borders" data-uid="GrapeCity.Spreadsheet.IStyle.Borders">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Borders.html#GrapeCity_Spreadsheet_IStyle_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.Spreadsheet.IBorders.html">IBorders</a> collection that represents the borders of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_BuiltIn" data-uid="GrapeCity.Spreadsheet.IStyle.BuiltIn">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.BuiltIn.html#GrapeCity_Spreadsheet_IStyle_BuiltIn">BuiltIn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the style is a built-in style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_Font" data-uid="GrapeCity.Spreadsheet.IStyle.Font">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Font.html#GrapeCity_Spreadsheet_IStyle_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.Spreadsheet.IFont.html">IFont</a> object that represents the font of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_HorizontalAlignment" data-uid="GrapeCity.Spreadsheet.IStyle.HorizontalAlignment">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.HorizontalAlignment.html#GrapeCity_Spreadsheet_IStyle_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a horizontal aligment value that represents the horizontal alignment for the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludeAlignment" data-uid="GrapeCity.Spreadsheet.IStyle.IncludeAlignment">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludeAlignment.html#GrapeCity_Spreadsheet_IStyle_IncludeAlignment">IncludeAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the style includes the alignment properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludeBorder" data-uid="GrapeCity.Spreadsheet.IStyle.IncludeBorder">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludeBorder.html#GrapeCity_Spreadsheet_IStyle_IncludeBorder">IncludeBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the style includes the <a class="xref" href="GrapeCity.Spreadsheet.IBorder.Color.html#GrapeCity_Spreadsheet_IBorder_Color">Color</a>, <a class="xref" href="GrapeCity.Spreadsheet.IBorder.LineStyle.html#GrapeCity_Spreadsheet_IBorder_LineStyle">LineStyle</a>, and Weight border properties..</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludeFont" data-uid="GrapeCity.Spreadsheet.IStyle.IncludeFont">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludeFont.html#GrapeCity_Spreadsheet_IStyle_IncludeFont">IncludeFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the style includes the font properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludeNumber" data-uid="GrapeCity.Spreadsheet.IStyle.IncludeNumber">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludeNumber.html#GrapeCity_Spreadsheet_IStyle_IncludeNumber">IncludeNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the style includes the <a class="xref" href="GrapeCity.Spreadsheet.IStyle.NumberFormat.html#GrapeCity_Spreadsheet_IStyle_NumberFormat">NumberFormat</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludePatterns" data-uid="GrapeCity.Spreadsheet.IStyle.IncludePatterns">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludePatterns.html#GrapeCity_Spreadsheet_IStyle_IncludePatterns">IncludePatterns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the style includes the interior properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IncludeProtection" data-uid="GrapeCity.Spreadsheet.IStyle.IncludeProtection">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IncludeProtection.html#GrapeCity_Spreadsheet_IStyle_IncludeProtection">IncludeProtection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the style includes the protection properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_IndentLevel" data-uid="GrapeCity.Spreadsheet.IStyle.IndentLevel">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.IndentLevel.html#GrapeCity_Spreadsheet_IStyle_IndentLevel">IndentLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the indent level for the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_Interior" data-uid="GrapeCity.Spreadsheet.IStyle.Interior">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Interior.html#GrapeCity_Spreadsheet_IStyle_Interior">Interior</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an <a class="xref" href="GrapeCity.Spreadsheet.IInterior.html">IInterior</a> object that represents the interior of the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_Locked" data-uid="GrapeCity.Spreadsheet.IStyle.Locked">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Locked.html#GrapeCity_Spreadsheet_IStyle_Locked">Locked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates if the object is locked.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_Name" data-uid="GrapeCity.Spreadsheet.IStyle.Name">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Name.html#GrapeCity_Spreadsheet_IStyle_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value that represents the name of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_NumberFormat" data-uid="GrapeCity.Spreadsheet.IStyle.NumberFormat">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.NumberFormat.html#GrapeCity_Spreadsheet_IStyle_NumberFormat">NumberFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that represents the format code for the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_Orientation" data-uid="GrapeCity.Spreadsheet.IStyle.Orientation">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Orientation.html#GrapeCity_Spreadsheet_IStyle_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the text orientation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_ShrinkToFit" data-uid="GrapeCity.Spreadsheet.IStyle.ShrinkToFit">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.ShrinkToFit.html#GrapeCity_Spreadsheet_IStyle_ShrinkToFit">ShrinkToFit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value that indicates if text automatically shrinks to fit in the available column width.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_VerticalAlignment" data-uid="GrapeCity.Spreadsheet.IStyle.VerticalAlignment">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.VerticalAlignment.html#GrapeCity_Spreadsheet_IStyle_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that represents the vertical alignment of the style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IStyle_WrapText" data-uid="GrapeCity.Spreadsheet.IStyle.WrapText">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.WrapText.html#GrapeCity_Spreadsheet_IStyle_WrapText">WrapText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates if the text is wrapped in the cell.</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_IStyle_Delete" data-uid="GrapeCity.Spreadsheet.IStyle.Delete">
          <a class="xref" href="GrapeCity.Spreadsheet.IStyle.Delete.html#GrapeCity_Spreadsheet_IStyle_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this style.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
