# C1.Win.Calendar.C1DateRangeEdit.MinValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Calendar_C1DateRangeEdit_MinValue_" data-uid="C1.Win.Calendar.C1DateRangeEdit.MinValue*">MinValue Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Calendar_C1DateRangeEdit_MinValue_" data-uid="C1.Win.Calendar.C1DateRangeEdit.MinValue*"></a>
<h4 id="C1_Win_Calendar_C1DateRangeEdit_MinValue" data-uid="C1.Win.Calendar.C1DateRangeEdit.MinValue">MinValue</h4>
<div class="markdown level1 summary"><p>Gets or sets the minimum selected date in a range selection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Bindable(BindableSupport.Yes)]
public DateTime? MinValue { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Bindable(BindableSupport.Yes)&gt;
Public Property MinValue As Date?</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>?</td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> representing the minimum selected date, or <code>null</code>
if no range is selected.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_Calendar_C1DateRangeEdit_MinValue_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When setting this property:</p>
<ul><li>
If <code>null</code>, the current range is cleared.
</li><li>
If a value is provided, a new range is created using the specified
minimum and the current <a class="xref" href="C1.Win.Calendar.C1DateRangeEdit.MaxValue.html#C1_Win_Calendar_C1DateRangeEdit_MaxValue">MaxValue</a>.
</li><li>
An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a> is thrown if the specified value is greater
than the current <a class="xref" href="C1.Win.Calendar.C1DateRangeEdit.MaxValue.html#C1_Win_Calendar_C1DateRangeEdit_MaxValue">MaxValue</a>.
</li></ul>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>Thrown when the assigned value is greater than <a class="xref" href="C1.Win.Calendar.C1DateRangeEdit.MaxValue.html#C1_Win_Calendar_C1DateRangeEdit_MaxValue">MaxValue</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
