# GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxMinBehavior_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior*">MaxMinBehavior Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxMinBehavior_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxMinBehavior" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior">MaxMinBehavior</h4>
<div class="markdown level1 summary"><p>Gets or sets the behavior when the new values are outside the range of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MinValue.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MinValue">MinValue</a> and <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxValue.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxValue">MaxValue</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public MaxMinBehavior MaxMinBehavior { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property MaxMinBehavior As MaxMinBehavior</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="GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.html">MaxMinBehavior</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxMinBehavior">MaxMinBehavior</a> enumeration value that indicates the behavior when the new input value is outside of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MinValue.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MinValue">MinValue</a> and <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxValue.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxValue">MaxValue</a>.
<br>
The default is <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior.html#GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_AdjustToMaxMin">AdjustToMaxMin</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<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.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The <b>value</b> is not a valid <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.MaxMinBehavior.html#GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_MaxMinBehavior">MaxMinBehavior</a> item.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
