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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_DoSpinUp_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.DoSpinUp*">DoSpinUp Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_DoSpinUp_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.DoSpinUp*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_DoSpinUp_System_TimeSpan_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.DoSpinUp(System.TimeSpan)">DoSpinUp(TimeSpan)</h4>
<div class="markdown level1 summary"><p>Perform spin up by the given <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DoSpinUp(TimeSpan increment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub DoSpinUp(increment As TimeSpan)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a></td>
      <td><span class="parametername">increment</span></td>
      <td><p>The increment.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_DoSpinUp_System_TimeSpan__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method increases the value of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a> by a given <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value. The spin result is limited by the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.MaxDate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_MaxDate">MaxDate</a> and <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.MinDate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_MinDate">MinDate</a>. If the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsEditorControl.SpinAllowWrap.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_FieldsEditorControl_SpinAllowWrap">SpinAllowWrap</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, it can spin circularly.</p>
</div>
</div>
