# GrapeCity.SpreadBuilder.Cells.DDCell.BorderDiagonalEnum

## Content

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



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



<a id="GrapeCity_SpreadBuilder_Cells_DDCell_BorderDiagonalEnum_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.BorderDiagonalEnum*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCell_BorderDiagonalEnum" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.BorderDiagonalEnum">BorderDiagonalEnum</h4>
<div class="markdown level1 summary"><p>Gets or sets the direction of the diagonal borders within 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 { get; 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 that specifies the direction of the diagonal borders. It determines whether a diagonal border goes upward,
downward, or both, potentially forming an &quot;X&quot; shape across the cell.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Cells_DDCell_BorderDiagonalEnum_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Possible values are listed in <a class="xref" href="GrapeCity.SpreadBuilder.Style.BorderDiagonalStyles.html">BorderDiagonalStyles</a>.
By default, this property is None and will not be displayed if you do not set it.</p>
</div>
</div>
