# C1.Win.C1Input.C1TextBox.BorderColor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_C1TextBox_BorderColor_" data-uid="C1.Win.C1Input.C1TextBox.BorderColor*">BorderColor Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_C1TextBox_BorderColor_" data-uid="C1.Win.C1Input.C1TextBox.BorderColor*"></a>
<h4 id="C1_Win_C1Input_C1TextBox_BorderColor" data-uid="C1.Win.C1Input.C1TextBox.BorderColor">BorderColor</h4>
<div class="markdown level1 summary"><p>Gets or sets the border color of the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Color BorderColor { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property BorderColor As Color</code></pre>
</div>
<h5 id="C1_Win_C1Input_C1TextBox_BorderColor_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use the <b>BorderColor</b> property to specify the border color of the control. 
This property is set using a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> object.</p>
<p>The <b>BorderColor</b> property has an effect only when the <a class="xref" href="C1.Win.C1Input.C1TextBox.BorderStyle.html#C1_Win_C1Input_C1TextBox_BorderStyle">BorderStyle</a> property is set to <b>FixedSingle</b>. </p>
</div>
</div>
