# C1.Win.C1Input.ValueInterval

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_ValueInterval" data-uid="C1.Win.C1Input.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.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_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_C1Input_ValueInterval__ctor" data-uid="C1.Win.C1Input.ValueInterval.#ctor">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.-ctor.html#C1_Win_C1Input_ValueInterval__ctor">ValueInterval()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the ValueInterval class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval__ctor_System_Object_System_Object_System_Boolean_System_Boolean_" data-uid="C1.Win.C1Input.ValueInterval.#ctor(System.Object,System.Object,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.-ctor.html#C1_Win_C1Input_ValueInterval__ctor_System_Object_System_Object_System_Boolean_System_Boolean_">ValueInterval(object, object, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>ValueInterval Constructor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Win.C1Input.ValueInterval.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.-ctor.html#C1_Win_C1Input_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_C1Input_ValueInterval_DataType" data-uid="C1.Win.C1Input.ValueInterval.DataType">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.DataType.html#C1_Win_C1Input_ValueInterval_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>The type of lower and upper bounds (taken from the control’s DataType).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_IncludeMax" data-uid="C1.Win.C1Input.ValueInterval.IncludeMax">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.IncludeMax.html#C1_Win_C1Input_ValueInterval_IncludeMax">IncludeMax</a>
        </td>
        <td class="markdown level1 summary"><p>If True (default), the upper bound is included.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_IncludeMin" data-uid="C1.Win.C1Input.ValueInterval.IncludeMin">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.IncludeMin.html#C1_Win_C1Input_ValueInterval_IncludeMin">IncludeMin</a>
        </td>
        <td class="markdown level1 summary"><p>If True (default), the lower bound is included.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_MaxValue" data-uid="C1.Win.C1Input.ValueInterval.MaxValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.MaxValue.html#C1_Win_C1Input_ValueInterval_MaxValue">MaxValue</a>
        </td>
        <td class="markdown level1 summary"><p>Upper bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_MinValue" data-uid="C1.Win.C1Input.ValueInterval.MinValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.MinValue.html#C1_Win_C1Input_ValueInterval_MinValue">MinValue</a>
        </td>
        <td class="markdown level1 summary"><p>Lower bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_UseMaxValue" data-uid="C1.Win.C1Input.ValueInterval.UseMaxValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.UseMaxValue.html#C1_Win_C1Input_ValueInterval_UseMaxValue">UseMaxValue</a>
        </td>
        <td class="markdown level1 summary"><p>If False (default), the upper bound is positive infinity.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_UseMinValue" data-uid="C1.Win.C1Input.ValueInterval.UseMinValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.UseMinValue.html#C1_Win_C1Input_ValueInterval_UseMinValue">UseMinValue</a>
        </td>
        <td class="markdown level1 summary"><p>If False (default), 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_C1Input_ValueInterval_ShouldSerializeMaxValue" data-uid="C1.Win.C1Input.ValueInterval.ShouldSerializeMaxValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.ShouldSerializeMaxValue.html#C1_Win_C1Input_ValueInterval_ShouldSerializeMaxValue">ShouldSerializeMaxValue()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ValueInterval_ShouldSerializeMinValue" data-uid="C1.Win.C1Input.ValueInterval.ShouldSerializeMinValue">
          <a class="xref" href="C1.Win.C1Input.ValueInterval.ShouldSerializeMinValue.html#C1_Win_C1Input_ValueInterval_ShouldSerializeMinValue">ShouldSerializeMinValue()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
