# C1.WPF.RichTextBox.Documents.C1TextElement.OnTextChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1TextElement_OnTextChanged_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.OnTextChanged*">OnTextChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1TextElement_OnTextChanged_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.OnTextChanged*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextElement_OnTextChanged_C1_WPF_RichTextBox_C1TextChangedEventArgs_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElement.OnTextChanged(C1.WPF.RichTextBox.C1TextChangedEventArgs)">OnTextChanged(C1TextChangedEventArgs)</h4>
<div class="markdown level1 summary"><p>Called when the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.TextChanged.html">TextChanged</a> event needs to be fired.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected void OnTextChanged(C1TextChangedEventArgs args)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub OnTextChanged(args As C1TextChangedEventArgs)</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="C1.WPF.RichTextBox.C1TextChangedEventArgs.html">C1TextChangedEventArgs</a></td>
      <td><span class="parametername">args</span></td>
      <td><p>The arguments for the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.TextChanged.html">TextChanged</a> event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
