# GrapeCity.SpreadBuilder.Cells.DDCells.BorderDiagonalEnum

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderDiagonalEnum_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCells.BorderDiagonalEnum*">BorderDiagonalEnum Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderDiagonalEnum_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCells.BorderDiagonalEnum*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderDiagonalEnum" data-uid="GrapeCity.SpreadBuilder.Cells.DDCells.BorderDiagonalEnum">BorderDiagonalEnum</h4>
<div class="markdown level1 summary"><p>Sets the diagonal border style of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public BorderDiagonalStyles BorderDiagonalEnum { set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles.html">BorderDiagonalStyles</a></td>
      <td><p>A <a class="xref" href="GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles.html">BorderDiagonalStyles</a> value, represents whether a diagonal border goes up, down, or both (forming an &quot;X&quot; across the cell).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderDiagonalEnum_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles.html">BorderDiagonalStyles</a> enumeration provides options for setting the diagonal border to appear in different directions:</p>
<ul><li>Upward diagonal from the bottom-left to the top-right of the cell.</li><li>Downward diagonal from the top-left to the bottom-right of the cell.</li><li>Both directions, forming an "X" shape within the cell.</li><li>None, indicating no diagonal border.</li></ul>
By default, this property is None and will not be displayed if you do not set it.
</div>
</div>
