# GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands" class="text-break">CalendarCommands Class
</h1>
  <div class="markdown level0 summary"><p>Provides a set of <span class="xref">GcDropDownCalendar</span> operations related commands.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CalendarCommands</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class CalendarCommands</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module CalendarCommands</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>
    The commands in the <b>CalendarCommands</b> class are intended to represent a set of operation commands for user to navigate, 
    select in control. The commands only represent the instance of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.routeduicommand">RoutedUICommand</a> and not the implementation logic for the command. 
    The implementation logic is provided by the <span class="xref">GrapeCity.Windows.InputMan.GcDropDownCalendar</span>, which will handle these commands execution.
    </p>
<p>
    The following table shows the editing commands and the associated default key gestures (with key names from the <span class="xref">Key</span> and <span class="xref">ModifierKeys</span> enumerations).
    <table><thead><tr><th class="term">Calendar Command</th><th class="description">Default key gesture</th></tr></thead><tbody><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.Clear.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_Clear">Clear</a></td><td class="description">F2</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToEnd.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToEnd">MoveToEnd</a></td><td class="description">No default key gesture.</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToNext.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToNext">MoveToNext</a></td><td class="description">No default key gesture</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToPrevious.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToPrevious">MoveToPrevious</a></td><td class="description">No default key gesture</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToStart.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToStart">MoveToStart</a></td><td class="description">No default key gesture.</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToToday.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToToday">MoveToToday</a></td><td class="description">F5</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomIn.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomIn">ZoomIn</a></td><td class="description">Ctrl+Down</td></tr><tr><td class="term"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomOut.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomOut">ZoomOut</a></td><td class="description">Ctrl+Up</td></tr></tbody></table>
<p>
      All of the calendar commands ignore the command parameter.
    </p>
</div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_Clear" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.Clear">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.Clear.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_Clear">Clear</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>Clear</b> command, which requests that calendar to clear selection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToEnd" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToEnd">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToEnd.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToEnd">MoveToEnd</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>MoveToEnd</b> command, which requests that calendar to move focus date to the end of last item in the current view of the calendar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToNext" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToNext">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToNext.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToNext">MoveToNext</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>MoveToNext</b> command, which requests that calendar to show next calendar dates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToPrevious" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToPrevious">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToPrevious.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToPrevious">MoveToPrevious</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>MoveToPrevious</b> command, which requests that calendar to show previous calendar dates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToStart" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToStart">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToStart.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToStart">MoveToStart</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>MoveToStart</b> command, which requests that calendar to move focus date to the start of first item in the current view of the calendar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToToday" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToToday">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.MoveToToday.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_MoveToToday">MoveToToday</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>MoveToToday</b> command, which requests that calendar to move focus and selected date to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime.today">Today</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomIn" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomIn">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomIn.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomIn">ZoomIn</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>ZoomIn</b> command, which requests that calendar to show lower calendar mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomOut" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomOut">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands.ZoomOut.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_CalendarCommands_ZoomOut">ZoomOut</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the <b>ZoomOut</b> command, which requests that calendar to show upper calendar mode.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
