# GrapeCity.Spreadsheet.Border

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Border" data-uid="GrapeCity.Spreadsheet.Border" class="text-break">Border Struct
</h1>
  <div class="markdown level0 summary"><p>Represents the border of an object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Border_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Border : IEquatable&lt;Border&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Border
    Implements IEquatable(Of 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="GrapeCity_Spreadsheet_Border__ctor_GrapeCity_Spreadsheet_BorderLine_" data-uid="GrapeCity.Spreadsheet.Border.#ctor(GrapeCity.Spreadsheet.BorderLine)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.-ctor.html#GrapeCity_Spreadsheet_Border__ctor_GrapeCity_Spreadsheet_BorderLine_">Border(BorderLine)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Empty" data-uid="GrapeCity.Spreadsheet.Border.Empty">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a> structure with its properties left uninitialized.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_NoBorder" data-uid="GrapeCity.Spreadsheet.Border.NoBorder">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.NoBorder.html">NoBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Represents no border; so the default border should be used to paint.</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="GrapeCity_Spreadsheet_Border_All" data-uid="GrapeCity.Spreadsheet.Border.All">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.All.html#GrapeCity_Spreadsheet_Border_All">All</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets all border lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Bottom" data-uid="GrapeCity.Spreadsheet.Border.Bottom">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Bottom.html#GrapeCity_Spreadsheet_Border_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Diagonal" data-uid="GrapeCity.Spreadsheet.Border.Diagonal">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Diagonal.html#GrapeCity_Spreadsheet_Border_Diagonal">Diagonal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the diagonal side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_DiagonalDown" data-uid="GrapeCity.Spreadsheet.Border.DiagonalDown">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.DiagonalDown.html#GrapeCity_Spreadsheet_Border_DiagonalDown">DiagonalDown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the cell's diagonal border includes a diagonal line, starting at the top left corner of the cell and moving down to the bottom right corner of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_DiagonalUp" data-uid="GrapeCity.Spreadsheet.Border.DiagonalUp">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.DiagonalUp.html#GrapeCity_Spreadsheet_Border_DiagonalUp">DiagonalUp</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether cell's diagonal border includes a diagonal line, starting at the bottom left corner of the cell and moving up to the top right corner of the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Horizontal" data-uid="GrapeCity.Spreadsheet.Border.Horizontal">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Horizontal.html#GrapeCity_Spreadsheet_Border_Horizontal">Horizontal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inner horizontal side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Left" data-uid="GrapeCity.Spreadsheet.Border.Left">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Left.html#GrapeCity_Spreadsheet_Border_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Outline" data-uid="GrapeCity.Spreadsheet.Border.Outline">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Outline.html#GrapeCity_Spreadsheet_Border_Outline">Outline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether left, right, top, and bottom borders should be applied only to outside borders of a cell range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Right" data-uid="GrapeCity.Spreadsheet.Border.Right">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Right.html#GrapeCity_Spreadsheet_Border_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Top" data-uid="GrapeCity.Spreadsheet.Border.Top">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Top.html#GrapeCity_Spreadsheet_Border_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top side of border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Vertical" data-uid="GrapeCity.Spreadsheet.Border.Vertical">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Vertical.html#GrapeCity_Spreadsheet_Border_Vertical">Vertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inner vertical side of border.</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="GrapeCity_Spreadsheet_Border_Equals_GrapeCity_Spreadsheet_Border_" data-uid="GrapeCity.Spreadsheet.Border.Equals(GrapeCity.Spreadsheet.Border)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Equals.html#GrapeCity_Spreadsheet_Border_Equals_GrapeCity_Spreadsheet_Border_">Equals(Border)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Equals_GrapeCity_Spreadsheet_Border__" data-uid="GrapeCity.Spreadsheet.Border.Equals(GrapeCity.Spreadsheet.Border@)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Equals.html#GrapeCity_Spreadsheet_Border_Equals_GrapeCity_Spreadsheet_Border__">Equals(ref Border)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_Equals_System_Object_" data-uid="GrapeCity.Spreadsheet.Border.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.Equals.html#GrapeCity_Spreadsheet_Border_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_GetHashCode" data-uid="GrapeCity.Spreadsheet.Border.GetHashCode">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.GetHashCode.html#GrapeCity_Spreadsheet_Border_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_IsDisplayable" data-uid="GrapeCity.Spreadsheet.Border.IsDisplayable">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.IsDisplayable.html#GrapeCity_Spreadsheet_Border_IsDisplayable">IsDisplayable()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this border contains border setting(s).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_IsEmpty" data-uid="GrapeCity.Spreadsheet.Border.IsEmpty">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.IsEmpty.html#GrapeCity_Spreadsheet_Border_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this border is empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_op_Equality_GrapeCity_Spreadsheet_Border_GrapeCity_Spreadsheet_Border_" data-uid="GrapeCity.Spreadsheet.Border.op_Equality(GrapeCity.Spreadsheet.Border,GrapeCity.Spreadsheet.Border)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.op_Equality.html#GrapeCity_Spreadsheet_Border_op_Equality_GrapeCity_Spreadsheet_Border_GrapeCity_Spreadsheet_Border_">operator ==(Border, Border)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value that indicates whether two specified <a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a> values are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Border_op_Inequality_GrapeCity_Spreadsheet_Border_GrapeCity_Spreadsheet_Border_" data-uid="GrapeCity.Spreadsheet.Border.op_Inequality(GrapeCity.Spreadsheet.Border,GrapeCity.Spreadsheet.Border)">
          <a class="xref" href="GrapeCity.Spreadsheet.Border.op_Inequality.html#GrapeCity_Spreadsheet_Border_op_Inequality_GrapeCity_Spreadsheet_Border_GrapeCity_Spreadsheet_Border_">operator !=(Border, Border)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value that indicates whether two specified <a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a> values are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
