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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_SpinMode_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.SpinMode*">SpinMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_SpinMode_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.SpinMode*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_SpinMode" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.SpinMode">SpinMode</h4>
<div class="markdown level1 summary"><p>Gets or sets the spin mode value indicating spin pattern.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public NumberSpinMode SpinMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property SpinMode As NumberSpinMode</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.Wpf.SpreadSheet.CellType.Editors.NumberSpinMode.html">NumberSpinMode</a></td>
      <td><p>A GrapeCity.Windows.InputMan.NumberSpinMode enumeration value.
The default value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberSpinMode_Field">Field</a></p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_SpinMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property indicates how to spin the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberField.html">NumberField</a> in <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.html">GcNumber</a>. When the value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberSpinMode_Field">Field</a>, it will spin the current active field; When the value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberSpinMode_Value">Value</a>, it will spin the entire value by the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.SpinIncrementValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcNumber_SpinIncrementValue">SpinIncrementValue</a>; When the value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.NumberSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_NumberSpinMode_Digits">Digits</a>, it will spin the current active field by digit.</p>
</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.argumentexception">ArgumentException</a></td>
      <td><p>The assigned value is not type of GrapeCity.Windows.InputMan.NumberSpinMode.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
