# GrapeCity.SpreadBuilder.Cells.DDCells.BorderTopColor

## Content

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



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



<a id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderTopColor_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCells.BorderTopColor*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderTopColor" data-uid="GrapeCity.SpreadBuilder.Cells.DDCells.BorderTopColor">BorderTopColor</h4>
<div class="markdown level1 summary"><p>Sets the color of the top border 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 Color BorderTopColor { 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="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value representing the color of the cell's top border.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Cells_DDCells_BorderTopColor_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>To handle the conversion, we have an implicit operator on <span class="xref">GrapeCity.SpreadBuilder.Style.COLORREF</span>.</p>
</div>
</div>
