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

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior" data-uid="GrapeCity.Win.Spread.InputMan.CellType.MaxMinBehavior" class="text-break">MaxMinBehavior Enum
</h1>
  <div class="markdown level0 summary"><p>Defines how to process the <span class="xref">GcDateTime.Value</span>,
<span class="xref">GcNubmer.Value</span>, <span class="xref">GcTimeSpan.Value</span>,
<span class="xref">GcDate.Value</span>, and <span class="xref">GcTime.Value</span>
properties when there is invalid data during input.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum MaxMinBehavior</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum MaxMinBehavior</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="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_AdjustToMaxMin">AdjustToMaxMin</td>
        <td><p>Adjusts the value to the valid range between the minimum and maximum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_CancelInput">CancelInput</td>
        <td><p>Cancels the last input and holds the old text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_Clear">Clear</td>
        <td><p>Clears the value to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_Keep">Keep</td>
        <td><p>Keeps the last input and holds the old text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_MaxMinBehavior_Restore">Restore</td>
        <td><p>Restores the backup value to the specified property.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
