# C1.Web.Mvc.Sheet.BorderCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_BorderCollection" data-uid="C1.Web.Mvc.Sheet.BorderCollection" class="text-break">BorderCollection Class
</h1>
  <div class="markdown level0 summary"><p>All borders of a cell.</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">BorderCollection</span></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_BorderCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BorderCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BorderCollection</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_BorderCollection__ctor" data-uid="C1.Web.Mvc.Sheet.BorderCollection.#ctor">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.-ctor.html#C1_Web_Mvc_Sheet_BorderCollection__ctor">BorderCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the create borders.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_BorderCollection__ctor_System_String_" data-uid="C1.Web.Mvc.Sheet.BorderCollection.#ctor(System.String)">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.-ctor.html#C1_Web_Mvc_Sheet_BorderCollection__ctor_System_String_">BorderCollection(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create uniform solid borders using a color.</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_BorderCollection_Bottom" data-uid="C1.Web.Mvc.Sheet.BorderCollection.Bottom">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.Bottom.html#C1_Web_Mvc_Sheet_BorderCollection_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_BorderCollection_Diagonal" data-uid="C1.Web.Mvc.Sheet.BorderCollection.Diagonal">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.Diagonal.html#C1_Web_Mvc_Sheet_BorderCollection_Diagonal">Diagonal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the diagonal border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_BorderCollection_Left" data-uid="C1.Web.Mvc.Sheet.BorderCollection.Left">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.Left.html#C1_Web_Mvc_Sheet_BorderCollection_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_BorderCollection_Right" data-uid="C1.Web.Mvc.Sheet.BorderCollection.Right">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.Right.html#C1_Web_Mvc_Sheet_BorderCollection_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_BorderCollection_Top" data-uid="C1.Web.Mvc.Sheet.BorderCollection.Top">
          <a class="xref" href="C1.Web.Mvc.Sheet.BorderCollection.Top.html#C1_Web_Mvc_Sheet_BorderCollection_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top border.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
