Calendar for WinForms | ComponentOne
In This Topic
    Keyboard Navigation
    In This Topic

    With built-in keyboard support, Calendar lets you perform the basic navigation operations with perfect ease just by using keys.

    Let's explore the keyboard navigation in both the CalendarView and DateEdit control in detail.

    CalendarView

    CalendarView provides keyboard support for quick navigation and selection through dates and months. The following table lists the applicable key combinations and their corresponding actions:

    Keyboard Command Action
    Up Navigates or selects the day by one position in the upward direction.
    Down Navigates or selects the day by one position in the downward direction.
    Left Navigates or selects the day by one position in the left direction.
    Right Navigates or selects the day by one position in the right direction.
    Home Navigates to the first day of the current month.
    End Navigates to the last day of the current month.
    Page Up Navigates to the same day of the previous month.
    Page Down Navigates to the same day of the next month.
    Shift + Up Selects contiguous days in the decreasing order from the current day based on maximum selectable days.
    Shift + Down Selects contiguous days in the increasing order from the current day based on maximum selectable days.
    Shift + Left Selects days successively by one position in the left direction until maximum selectable days..
    Shift + Right Selects days successively by one position in the right direction until maximum selectable days.
    Shift + Home Selects contiguous days in the decreasing order from the current day based on maximum selectable days.
    Shift + End Selects contiguous days in the increasing order from the current day based on maximum selectable days.
    Shift + Page Up Selects contiguous days in the decreasing order from the current day based on maximum selectable days.
    Shift + Page Down Selects contiguous days in the increasing order from the current day based on maximum selectable days.
    Ctrl + Up Selects days upwards in the same column from the current day based on maximum selectable days.
    Ctrl + Down Selects days downwards in the same column from the current day based on maximum selectable days.
    Ctrl + Left Selects days successively by one position in the left direction until maximum selectable days..
    Ctrl + Right Selects days successively by one position in the right direction until maximum selectable days.
    Ctrl + Home Selects the first day of the current month keeping the current day selected.
    Ctrl + End Selects the last day of the current month keeping the current day selected.
    Ctrl + Page Up Selects the same day of the previous month keeping the current day in the current month selected.
    Ctrl + Page Down Selects the same day of the next month keeping the current day in the current month selected.

    DateEdit

    The following table lists the applicable key combinations and their corresponding actions in the DateEdit control.

    Keyboard Command Action
    Up Increases the selected value by one.
    Down Decreases the selected value by one.
    Left Shifts the selection by one position in the left direction.
    Right Shifts the selection by one position in the right direction.
    Home Shifts the selection to the first value in the combo box.
    End Shifts the selection to the last value in the combo box.
    Shift + Up/Left Selects contiguous values from the current selection by one position in the left direction .
    Shift + Down/Right Selects contiguous values from the current selection by one position in the right direction.
    Shift + Home Selects all values from the current selection to the first value in the combo box.
    Shift + End Selects all values from the current selection to the last value in the combo box.
    Ctrl + Up/Left Causes the cursor to skip values of the same group in the left direction.
    Ctrl + Down/Right Causes the cursor to skip values of the same group in the right direction.
    Ctrl + Home Shifts the cursor to the first day from the current selection.
    Ctrl + End Shifts the cursor to the last day from the current selection.