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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_SpinMode_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.SpinMode*">SpinMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_SpinMode_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.SpinMode*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_SpinMode" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.SpinMode">SpinMode</h4>
<div class="markdown level1 summary"><p>Gets or sets the mode indicates how to spin the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DateSpinMode SpinMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property SpinMode As DateSpinMode</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.DateSpinMode.html">DateSpinMode</a></td>
      <td><p>A GrapeCity.Windows.InputMan.DateSpinMode value indicates the spin mode. The default value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DateSpinMode_Field">Field</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_SpinMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property determines how to spin the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_Value">Value</a> of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a>. If the enumeration value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DateSpinMode_Field">Field</a>, it just spin the current active field; if the enumeration value is <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateSpinMode.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DateSpinMode_Value">Value</a>, it will spin the value of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a> by the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.SpinIncrementValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_SpinIncrementValue">SpinIncrementValue</a>.</p>
</div>
</div>
