# C1.Web.Mvc.Sheet.Style

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_Style" data-uid="C1.Web.Mvc.Sheet.Style" class="text-break">Style Class
</h1>
  <div class="markdown level0 summary"><p>The appearance attributes of certain cells.</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"><span class="xref">Style</span></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.Sheet.WorkbookTableCommonStyle.html">WorkbookTableCommonStyle</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Sheet.html">C1.Web.Mvc.Sheet</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.FlexSheet.dll</h6>
  <h5 id="C1_Web_Mvc_Sheet_Style_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Style</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Style</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_Web_Mvc_Sheet_Style__ctor" data-uid="C1.Web.Mvc.Sheet.Style.#ctor">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.-ctor.html#C1_Web_Mvc_Sheet_Style__ctor">Style()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a Style instance.</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_Web_Mvc_Sheet_Style_BaseOn" data-uid="C1.Web.Mvc.Sheet.Style.BaseOn">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.BaseOn.html#C1_Web_Mvc_Sheet_Style_BaseOn">BaseOn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the the base style that this style inherits from.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Border" data-uid="C1.Web.Mvc.Sheet.Style.Border">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Border.html#C1_Web_Mvc_Sheet_Style_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the cell border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Fill" data-uid="C1.Web.Mvc.Sheet.Style.Fill">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Fill.html#C1_Web_Mvc_Sheet_Style_Fill">Fill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the cell fill.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Font" data-uid="C1.Web.Mvc.Sheet.Style.Font">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Font.html#C1_Web_Mvc_Sheet_Style_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Format" data-uid="C1.Web.Mvc.Sheet.Style.Format">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Format.html#C1_Web_Mvc_Sheet_Style_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the excel format string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_HAlign" data-uid="C1.Web.Mvc.Sheet.Style.HAlign">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.HAlign.html#C1_Web_Mvc_Sheet_Style_HAlign">HAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of cell content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Indent" data-uid="C1.Web.Mvc.Sheet.Style.Indent">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Indent.html#C1_Web_Mvc_Sheet_Style_Indent">Indent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text indent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_Locked" data-uid="C1.Web.Mvc.Sheet.Style.Locked">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.Locked.html#C1_Web_Mvc_Sheet_Style_Locked">Locked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to lock the cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_ShrinkToFit" data-uid="C1.Web.Mvc.Sheet.Style.ShrinkToFit">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.ShrinkToFit.html#C1_Web_Mvc_Sheet_Style_ShrinkToFit">ShrinkToFit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether allow text shrink to fit cell size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_TextDirection" data-uid="C1.Web.Mvc.Sheet.Style.TextDirection">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.TextDirection.html#C1_Web_Mvc_Sheet_Style_TextDirection">TextDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of text flow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_TextRotation" data-uid="C1.Web.Mvc.Sheet.Style.TextRotation">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.TextRotation.html#C1_Web_Mvc_Sheet_Style_TextRotation">TextRotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rotation angle of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_VAlign" data-uid="C1.Web.Mvc.Sheet.Style.VAlign">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.VAlign.html#C1_Web_Mvc_Sheet_Style_VAlign">VAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of cell content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Style_WrapText" data-uid="C1.Web.Mvc.Sheet.Style.WrapText">
          <a class="xref" href="C1.Web.Mvc.Sheet.Style.WrapText.html#C1_Web_Mvc_Sheet_Style_WrapText">WrapText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether allow text wrap.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
