# C1.WPF.C1MaskedTextBox.MaskedTextChanged

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_C1MaskedTextBox_MaskedTextChanged" data-uid="C1.WPF.C1MaskedTextBox.MaskedTextChanged" class="text-break">MaskedTextChanged Event
</h1>
<div class="markdown level0 summary"><p>Occurs when consistent content that conforms to the <a class="xref" href="C1.WPF.C1MaskedTextBox.Mask.html#C1_WPF_C1MaskedTextBox_Mask">Mask</a> changes in the text box.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
<h5 id="C1_WPF_C1MaskedTextBox_MaskedTextChanged_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event MaskedTextChangedEventHandler MaskedTextChanged</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event MaskedTextChanged As MaskedTextChangedEventHandler</code></pre>
</div>
<h5 class="returns">Returns</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="C1.WPF.MaskedTextChangedEventHandler.html">MaskedTextChangedEventHandler</a></td>
      <td>Occurs when consistent content that conforms to the  changes in the text box.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_C1MaskedTextBox_MaskedTextChanged_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>Just after the Text property has beed changed via user input or code,
the <a class="xref" href="C1.WPF.C1MaskedTextBox.html">C1MaskedTextBox</a> updates the text again in order to make it consistent with
the <a class="xref" href="C1.WPF.C1MaskedTextBox.Mask.html#C1_WPF_C1MaskedTextBox_Mask">Mask</a>. As a result, the TextChanged event can be triggered twice on each user
input. In contrast to this, the <a class="xref" href="C1.WPF.C1MaskedTextBox.MaskedTextChanged.html">MaskedTextChanged</a> is triggered only when Text is
updated with a value that conforms to the <a class="xref" href="C1.WPF.C1MaskedTextBox.Mask.html#C1_WPF_C1MaskedTextBox_Mask">Mask</a>.</p>
</div>
</div>
