# C1.C1Excel.XLBorderFormatting

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Excel_XLBorderFormatting" data-uid="C1.C1Excel.XLBorderFormatting" class="text-break">XLBorderFormatting Class
</h1>
  <div class="markdown level0 summary"><p>The border formatting.</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">XLBorderFormatting</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Excel.html">C1.C1Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Excel.4.8.dll</h6>
  <h5 id="C1_C1Excel_XLBorderFormatting_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class XLBorderFormatting</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class XLBorderFormatting</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_C1Excel_XLBorderFormatting__ctor" data-uid="C1.C1Excel.XLBorderFormatting.#ctor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.-ctor.html#C1_C1Excel_XLBorderFormatting__ctor">XLBorderFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Initialization border formatting.</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_C1Excel_XLBorderFormatting_BottomBorder" data-uid="C1.C1Excel.XLBorderFormatting.BottomBorder">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.BottomBorder.html#C1_C1Excel_XLBorderFormatting_BottomBorder">BottomBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets bottom border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_BottomColor" data-uid="C1.C1Excel.XLBorderFormatting.BottomColor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.BottomColor.html#C1_C1Excel_XLBorderFormatting_BottomColor">BottomColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of bottom border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_Diagonal" data-uid="C1.C1Excel.XLBorderFormatting.Diagonal">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.Diagonal.html#C1_C1Excel_XLBorderFormatting_Diagonal">Diagonal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which diagonal lines to display (none, forward, backward).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_DiagonalColor" data-uid="C1.C1Excel.XLBorderFormatting.DiagonalColor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.DiagonalColor.html#C1_C1Excel_XLBorderFormatting_DiagonalColor">DiagonalColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of diagonal border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_DiagonalStyle" data-uid="C1.C1Excel.XLBorderFormatting.DiagonalStyle">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.DiagonalStyle.html#C1_C1Excel_XLBorderFormatting_DiagonalStyle">DiagonalStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets type of diagonal line for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_LeftBorder" data-uid="C1.C1Excel.XLBorderFormatting.LeftBorder">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.LeftBorder.html#C1_C1Excel_XLBorderFormatting_LeftBorder">LeftBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets left border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_LeftColor" data-uid="C1.C1Excel.XLBorderFormatting.LeftColor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.LeftColor.html#C1_C1Excel_XLBorderFormatting_LeftColor">LeftColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of left border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_RightBorder" data-uid="C1.C1Excel.XLBorderFormatting.RightBorder">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.RightBorder.html#C1_C1Excel_XLBorderFormatting_RightBorder">RightBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets right border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_RightColor" data-uid="C1.C1Excel.XLBorderFormatting.RightColor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.RightColor.html#C1_C1Excel_XLBorderFormatting_RightColor">RightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of right border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_TopBorder" data-uid="C1.C1Excel.XLBorderFormatting.TopBorder">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.TopBorder.html#C1_C1Excel_XLBorderFormatting_TopBorder">TopBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets top border for this formating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLBorderFormatting_TopColor" data-uid="C1.C1Excel.XLBorderFormatting.TopColor">
          <a class="xref" href="C1.C1Excel.XLBorderFormatting.TopColor.html#C1_C1Excel_XLBorderFormatting_TopColor">TopColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color of top border for this formating.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
