Keyboard Navigation in WPF DateTimeEdit control

3 Sep 20201 minute to read

In this section, you will see available keyboard shortcuts key to navigate or change the datetime in the DateTimeEdit.

Open and close the DateTime selector popup using short-cut keys

You can open or close the datetime selector popup by pressing the Alt + Down key and F4 key.

Open and close the popup using short-cut keys

Keyboard Navigation between datetime fields

The following table explains how the navigation performed between datetime fields,

S.No Key Description Image
1 Up Increase selected date, month or year value by 1. Increasing the datetime value
2 Down Decrease selected date, month or year value by 1. Descreasing the datetime value
3 Right Navigate to the previous field from the currently selected field. Navigate to the previous field from the currently selected field
4 Left Navigate to the next field from the currently selected field. Navigate to the next field from the currently selected field
5 Ctrl + Up Move forward from current selection view to next month or year selection view. Move forward from current selection view
6 Ctrl + Down Move backward from current selection view to previous month or date selection view. Move backward from current selection view
7 PageUp Move to previous month, date or year from the corresponding selection view. Navigate to previous date or month or year
8 PageDown Move to next month, date or year from the corresponding selection view. Navigate to next date or month or year
9 Home Select first date or month or year or decade of the current selection view. Navigate to first date or month or year
10 End Select last date or month or year or decade of the current selection view. Navigate to last date or month or year