# C1.Win.FlexGrid.CellBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_CellBorder" data-uid="C1.Win.FlexGrid.CellBorder" class="text-break">CellBorder Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.FlexGrid.CellBorder.html">CellBorder</a> class encapsulates properties that control the appearance of borders in
<a class="xref" href="C1.Win.FlexGrid.CellStyle.html">CellStyle</a> objects.</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">CellBorder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_CellBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class CellBorder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class CellBorder</code></pre>
  </div>
  <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_Win_FlexGrid_CellBorder_Color" data-uid="C1.Win.FlexGrid.CellBorder.Color">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.Color.html#C1_Win_FlexGrid_CellBorder_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border color (except for 3D borders).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_Direction" data-uid="C1.Win.FlexGrid.CellBorder.Direction">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.Direction.html#C1_Win_FlexGrid_CellBorder_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border direction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_HorizontalColor" data-uid="C1.Win.FlexGrid.CellBorder.HorizontalColor">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.HorizontalColor.html#C1_Win_FlexGrid_CellBorder_HorizontalColor">HorizontalColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal border edges color (except for 3D borders) when <a class="xref" href="C1.Win.FlexGrid.CellBorder.Direction.html#C1_Win_FlexGrid_CellBorder_Direction">Direction</a> is set to <a class="xref" href="C1.Win.FlexGrid.BorderDirEnum.html#C1_Win_FlexGrid_BorderDirEnum_BothDifferent">BothDifferent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_HorizontalWidth" data-uid="C1.Win.FlexGrid.CellBorder.HorizontalWidth">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.HorizontalWidth.html#C1_Win_FlexGrid_CellBorder_HorizontalWidth">HorizontalWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal border edges width (except for 3D borders) when <a class="xref" href="C1.Win.FlexGrid.CellBorder.Direction.html#C1_Win_FlexGrid_CellBorder_Direction">Direction</a> is set to <a class="xref" href="C1.Win.FlexGrid.BorderDirEnum.html#C1_Win_FlexGrid_BorderDirEnum_BothDifferent">BothDifferent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_Style" data-uid="C1.Win.FlexGrid.CellBorder.Style">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.Style.html#C1_Win_FlexGrid_CellBorder_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_VerticalColor" data-uid="C1.Win.FlexGrid.CellBorder.VerticalColor">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.VerticalColor.html#C1_Win_FlexGrid_CellBorder_VerticalColor">VerticalColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical border edges color (except for 3D borders) when <a class="xref" href="C1.Win.FlexGrid.CellBorder.Direction.html#C1_Win_FlexGrid_CellBorder_Direction">Direction</a> is set to <a class="xref" href="C1.Win.FlexGrid.BorderDirEnum.html#C1_Win_FlexGrid_BorderDirEnum_BothDifferent">BothDifferent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_VerticalWidth" data-uid="C1.Win.FlexGrid.CellBorder.VerticalWidth">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.VerticalWidth.html#C1_Win_FlexGrid_CellBorder_VerticalWidth">VerticalWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical border edges width (except for 3D borders) when <a class="xref" href="C1.Win.FlexGrid.CellBorder.Direction.html#C1_Win_FlexGrid_CellBorder_Direction">Direction</a> is set to <a class="xref" href="C1.Win.FlexGrid.BorderDirEnum.html#C1_Win_FlexGrid_BorderDirEnum_BothDifferent">BothDifferent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_CellBorder_Width" data-uid="C1.Win.FlexGrid.CellBorder.Width">
          <a class="xref" href="C1.Win.FlexGrid.CellBorder.Width.html#C1_Win_FlexGrid_CellBorder_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border width (except for 3D borders).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
