# C1.Web.Mvc.Sheet.Border

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_Border" data-uid="C1.Web.Mvc.Sheet.Border" class="text-break">Border Class
</h1>
  <div class="markdown level0 summary"><p>Border styles.</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">Border</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_Border_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Border</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Border</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_Border__ctor" data-uid="C1.Web.Mvc.Sheet.Border.#ctor">
          <a class="xref" href="C1.Web.Mvc.Sheet.Border.-ctor.html#C1_Web_Mvc_Sheet_Border__ctor">Border()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Border__ctor_System_String_" data-uid="C1.Web.Mvc.Sheet.Border.#ctor(System.String)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Border.-ctor.html#C1_Web_Mvc_Sheet_Border__ctor_System_String_">Border(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a solid border 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_Border_Color" data-uid="C1.Web.Mvc.Sheet.Border.Color">
          <a class="xref" href="C1.Web.Mvc.Sheet.Border.Color.html#C1_Web_Mvc_Sheet_Border_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Border_Type" data-uid="C1.Web.Mvc.Sheet.Border.Type">
          <a class="xref" href="C1.Web.Mvc.Sheet.Border.Type.html#C1_Web_Mvc_Sheet_Border_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border linetype.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
