# C1.Win.FlexGrid.CellBorder.Color

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_CellBorder_Color_" data-uid="C1.Win.FlexGrid.CellBorder.Color*">Color Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_CellBorder_Color_" data-uid="C1.Win.FlexGrid.CellBorder.Color*"></a>
<h4 id="C1_Win_FlexGrid_CellBorder_Color" data-uid="C1.Win.FlexGrid.CellBorder.Color">Color</h4>
<div class="markdown level1 summary"><p>Gets or sets the border color (except for 3D borders).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Color Color { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Color As Color</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_CellBorder_Color_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>3D borders are always drawn using the system colors defined for highlights and shadows.</p>
<p>If <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> than tha value of this property will be ignored 
and values of <a class="xref" href="C1.Win.FlexGrid.CellBorder.HorizontalColor.html#C1_Win_FlexGrid_CellBorder_HorizontalColor">HorizontalColor</a> and <a class="xref" href="C1.Win.FlexGrid.CellBorder.VerticalColor.html#C1_Win_FlexGrid_CellBorder_VerticalColor">VerticalColor</a> will be used for rendering.</p>
</div>
</div>
