# C1.WPF.FlexGrid.ExcelCellStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_ExcelCellStyle" data-uid="C1.WPF.FlexGrid.ExcelCellStyle" class="text-break">ExcelCellStyle Class
</h1>
  <div class="markdown level0 summary"><p>Extends the CellStyle class to provide Excel-style cell borders and a format string.</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="../C1.WPF.FlexGrid.4.6.2/C1.WPF.FlexGrid.CellStyle.html">CellStyle</a></div>
    <div class="level2"><span class="xref">ExcelCellStyle</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexSheet.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_ExcelCellStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ExcelCellStyle : CellStyle, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ExcelCellStyle
    Inherits CellStyle
    Implements INotifyPropertyChanged</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_WPF_FlexGrid_ExcelCellStyle__ctor" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.#ctor">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.-ctor.html#C1_WPF_FlexGrid_ExcelCellStyle__ctor">ExcelCellStyle()</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushBottom" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushBottom">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushBottom.html#C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushBottom">CellBorderBrushBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Border brush for the bottom of cell</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushLeft" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushLeft">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushLeft.html#C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushLeft">CellBorderBrushLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Border brush for cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushRight" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushRight">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushRight.html#C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushRight">CellBorderBrushRight</a>
        </td>
        <td class="markdown level1 summary"><p>Border brush for the right of cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushTop" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushTop">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderBrushTop.html#C1_WPF_FlexGrid_ExcelCellStyle_CellBorderBrushTop">CellBorderBrushTop</a>
        </td>
        <td class="markdown level1 summary"><p>Border brush for the top of cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_CellBorderThickness" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderThickness">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.CellBorderThickness.html#C1_WPF_FlexGrid_ExcelCellStyle_CellBorderThickness">CellBorderThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Border thickness for cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_Format" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.Format">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.Format.html#C1_WPF_FlexGrid_ExcelCellStyle_Format">Format</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ExcelCellStyle_Rotation" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.Rotation">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.Rotation.html#C1_WPF_FlexGrid_ExcelCellStyle_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Rotaion for content.</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="C1_WPF_FlexGrid_ExcelCellStyle_Apply_System_Windows_Controls_Border_" data-uid="C1.WPF.FlexGrid.ExcelCellStyle.Apply(System.Windows.Controls.Border)">
          <a class="xref" href="C1.WPF.FlexGrid.ExcelCellStyle.Apply.html#C1_WPF_FlexGrid_ExcelCellStyle_Apply_System_Windows_Controls_Border_">Apply(Border)</a>
        </td>
        <td class="markdown level1 summary"><p>oveerrides apply border</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
