# C1.WPF.RangeValidationMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_RangeValidationMode" data-uid="C1.WPF.RangeValidationMode" class="text-break">RangeValidationMode Enum
</h1>
  <div class="markdown level0 summary"><p>Mode of validation of the range between Maximum and Minimum of <a class="xref" href="C1.WPF.C1NumericBox.html">C1NumericBox</a>.</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_RangeValidationMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum RangeValidationMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum RangeValidationMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_RangeValidationMode_Always">Always</td>
        <td><p>This mode doesn't allow entering out of range values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RangeValidationMode_AlwaysTruncate">AlwaysTruncate</td>
        <td><p>This mode doesn't allow entering out of range values.
The value will be truncated if the limits are exceeded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RangeValidationMode_OnLostFocus">OnLostFocus</td>
        <td><p>The value will be truncated on lost focus.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
