# C1.Win.C1Input.C1TextBox.OnBorderColorChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_C1TextBox_OnBorderColorChanged_" data-uid="C1.Win.C1Input.C1TextBox.OnBorderColorChanged*">OnBorderColorChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_C1TextBox_OnBorderColorChanged_" data-uid="C1.Win.C1Input.C1TextBox.OnBorderColorChanged*"></a>
<h4 id="C1_Win_C1Input_C1TextBox_OnBorderColorChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1TextBox.OnBorderColorChanged(System.EventArgs)">OnBorderColorChanged(EventArgs)</h4>
<div class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.C1Input.C1TextBox.BorderColorChanged.html">BorderColorChanged</a> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnBorderColorChanged(EventArgs e)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnBorderColorChanged(e As EventArgs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a> that contains the event data.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_C1Input_C1TextBox_OnBorderColorChanged_System_EventArgs__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Raising an event invokes the event handler through a delegate. </p>
            <p>The <b>OnBorderColorChanged</b> method also allows derived classes to handle the event without attaching a delegate. 
            This is the preferred technique for handling the event in a derived class.</p>
            <p><b>Notes to Inheritors.</b> When overriding <b>OnBorderColorChanged</b> in a derived class, 
            be sure to call the base class's <b>OnBorderColorChanged</b> method so that registered delegates receive the event. 
            </p>
</div>
</div>
