# C1.Win.Input.Validation.ValueInterval

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Validation_ValueInterval" data-uid="C1.Win.Input.Validation.ValueInterval" class="text-break">ValueInterval Class
</h1>
  <div class="markdown level0 summary"><p>An interval in a collection of intervals of possible values used in post-validation.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ValueInterval</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.Validation.html">C1.Win.Input.Validation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_Validation_ValueInterval_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ValueIntervalConverter))]
public class ValueInterval : ICloneable, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ValueIntervalConverter))&gt;
Public Class ValueInterval
    Implements ICloneable, ISerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval__ctor" data-uid="C1.Win.Input.Validation.ValueInterval.#ctor">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.-ctor.html#C1_Win_Input_Validation_ValueInterval__ctor">ValueInterval()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.Validation.ValueInterval.html">ValueInterval</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval__ctor_System_Object_System_Object_System_Boolean_System_Boolean_" data-uid="C1.Win.Input.Validation.ValueInterval.#ctor(System.Object,System.Object,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.-ctor.html#C1_Win_Input_Validation_ValueInterval__ctor_System_Object_System_Object_System_Boolean_System_Boolean_">ValueInterval(object, object, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.Validation.ValueInterval.html">ValueInterval</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Win.Input.Validation.ValueInterval.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.-ctor.html#C1_Win_Input_Validation_ValueInterval__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ValueInterval(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the ValueInterval class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_DataType" data-uid="C1.Win.Input.Validation.ValueInterval.DataType">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.DataType.html#C1_Win_Input_Validation_ValueInterval_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of lower and upper bounds (taken from the control’s DataType).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_IncludeMax" data-uid="C1.Win.Input.Validation.ValueInterval.IncludeMax">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.IncludeMax.html#C1_Win_Input_Validation_ValueInterval_IncludeMax">IncludeMax</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the  upper bound is included.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_IncludeMin" data-uid="C1.Win.Input.Validation.ValueInterval.IncludeMin">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.IncludeMin.html#C1_Win_Input_Validation_ValueInterval_IncludeMin">IncludeMin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the lower bound is included.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_MaxValue" data-uid="C1.Win.Input.Validation.ValueInterval.MaxValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.MaxValue.html#C1_Win_Input_Validation_ValueInterval_MaxValue">MaxValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the upper bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_MinValue" data-uid="C1.Win.Input.Validation.ValueInterval.MinValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.MinValue.html#C1_Win_Input_Validation_ValueInterval_MinValue">MinValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the lower bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_UseMaxValue" data-uid="C1.Win.Input.Validation.ValueInterval.UseMaxValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.UseMaxValue.html#C1_Win_Input_Validation_ValueInterval_UseMaxValue">UseMaxValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to use the MaxValue property or whether the upper bound is positive infinity.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_UseMinValue" data-uid="C1.Win.Input.Validation.ValueInterval.UseMinValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.UseMinValue.html#C1_Win_Input_Validation_ValueInterval_UseMinValue">UseMinValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to use the MinValue property or whether the lower bound is negative infinity.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_ResetMaxValue" data-uid="C1.Win.Input.Validation.ValueInterval.ResetMaxValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.ResetMaxValue.html#C1_Win_Input_Validation_ValueInterval_ResetMaxValue">ResetMaxValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the MaxValue property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_ResetMinValue" data-uid="C1.Win.Input.Validation.ValueInterval.ResetMinValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.ResetMinValue.html#C1_Win_Input_Validation_ValueInterval_ResetMinValue">ResetMinValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the CaseSensitive property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_ShouldSerializeMaxValue" data-uid="C1.Win.Input.Validation.ValueInterval.ShouldSerializeMaxValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.ShouldSerializeMaxValue.html#C1_Win_Input_Validation_ValueInterval_ShouldSerializeMaxValue">ShouldSerializeMaxValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the MaxValue property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Validation_ValueInterval_ShouldSerializeMinValue" data-uid="C1.Win.Input.Validation.ValueInterval.ShouldSerializeMinValue">
          <a class="xref" href="C1.Win.Input.Validation.ValueInterval.ShouldSerializeMinValue.html#C1_Win_Input_Validation_ValueInterval_ShouldSerializeMinValue">ShouldSerializeMinValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the MinValue property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
