HeaderPane
Main
Hide
Share Link
Print

Keyboard Interface

Field

KeyAction
Digits, lettersType the part being edited (see Editing).
Up, Down, + and - on the numeric keypadChange the part being edited.
Left, RightMove to the previous or next part.
Tab, Shift+TabMove to the next or previous part, and to the next or previous control after the last or before the first part.
Home, EndMove to the first or last part.
Delete, BackspaceEmpty the part being edited.
SpaceCheck or clear the check box (SftDate.ShowCheckBox property).
Ctrl+C, Ctrl+InsertCopy the formatted value.
Ctrl+V, Shift+InsertPaste a text and parse it.
F4, Alt+Down, Alt+UpOpen or close the dropdown.

In a field with free-form editing (EditStyleEnum.FreeForm), the keys edit the text as in a text box; Enter accepts the text, and Up and Down change the value by one day, or by one minute in a field showing only a time. While the dropdown is open, the keys go to the dropdown until a text is typed; after that, Space, Left, Right, Home and End edit the text, and Enter or Tab closes the dropdown and accepts the typed text.

Dropdown

The field keeps the input focus while the dropdown is open.

KeyAction
EnterAccept the date or time and close the dropdown.
EscapeClose the dropdown without changing the value.
F4, Alt+Up, Alt+DownClose the dropdown. F4 keeps the value, Alt+Up and Alt+Down accept the date or time.
TabSwitch between the calendar and the time selection. When the dropdown shows only one of them, accept the value, close the dropdown and move on as Tab does in the field.
Arrow keys, Page Up, Page Down, Home, EndMove in the calendar or the time selection (see below and Time List and Clock).

Calendar

KeyAction
Left, RightMove to the previous or next day (month, year or decade in the larger views).
Up, DownMove to the same day of the previous or next week (one row up or down in the larger views).
Page Up, Page DownMove to the same day of the previous or next month (year, decade or century in the larger views).
Ctrl+Page Up, Ctrl+Page DownMove to the same day of the previous or next year.
Home, EndMove to the first or last day of the month.
Shift with the keys aboveExtend the range in range mode.
Ctrl+UpSwitch to the next larger view (year, decade, century).
Ctrl+Down, Enter, SpaceSwitch to the next smaller view; in the smallest view, Enter and Space choose the date (SftCalendar.DateActivated event).