[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarCommands

CalendarCommands Class

Provides a set of GcDropDownCalendar operations related commands.

Inheritance
CalendarCommands
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public static class CalendarCommands
Public Module CalendarCommands
Remarks

The commands in the CalendarCommands 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 RoutedUICommand and not the implementation logic for the command. The implementation logic is provided by the GrapeCity.Windows.InputMan.GcDropDownCalendar, which will handle these commands execution.

The following table shows the editing commands and the associated default key gestures (with key names from the Key and ModifierKeys enumerations).

Calendar CommandDefault key gesture
ClearF2
MoveToEndNo default key gesture.
MoveToNextNo default key gesture
MoveToPreviousNo default key gesture
MoveToStartNo default key gesture.
MoveToTodayF5
ZoomInCtrl+Down
ZoomOutCtrl+Up

All of the calendar commands ignore the command parameter.

Properties

Name Description
Clear

Represents the Clear command, which requests that calendar to clear selection.

MoveToEnd

Represents the MoveToEnd command, which requests that calendar to move focus date to the end of last item in the current view of the calendar.

MoveToNext

Represents the MoveToNext command, which requests that calendar to show next calendar dates.

MoveToPrevious

Represents the MoveToPrevious command, which requests that calendar to show previous calendar dates.

MoveToStart

Represents the MoveToStart command, which requests that calendar to move focus date to the start of first item in the current view of the calendar.

MoveToToday

Represents the MoveToToday command, which requests that calendar to move focus and selected date to Today.

ZoomIn

Represents the ZoomIn command, which requests that calendar to show lower calendar mode.

ZoomOut

Represents the ZoomOut command, which requests that calendar to show upper calendar mode.