# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue*">MaxValue Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue">MaxValue</h4>
<div class="markdown level1 summary"><p>Gets or sets a decimal value indicate the maximum of range control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[TypeConverter(typeof(DecimalConverter))]
public decimal MaxValue { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(DecimalConverter))&gt;
Public Property MaxValue As Decimal</code></pre>
</div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
  <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a> controls the maximum of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_Value">Value</a> no matter the programmatic way or user interaction.
      When <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_Value">Value</a> is beyond the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a>, the value will be validated when when control lost keyboard focus according to the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.ControlValidatorSet.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_ControlValidatorSet">ControlValidatorSet</a> setting.
      </p>
<p>
      Set <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MinValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MinValue">MinValue</a> greater than <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a> will change to same as <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MinValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MinValue">MinValue</a>; 
      Set <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a> less than <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MinValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MinValue">MinValue</a>, the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MinValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MinValue">MinValue</a> won't change and the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MaxValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MaxValue">MaxValue</a> changes to same as <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.MinValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_MinValue">MinValue</a>.
      </p>
</div>
</div>
