The DatePicker control features powerful date entry and editing. You
may use the Keyboard, Mouse, DropDown Calendar or any combination of
them to enter or edit values. Following sections describe different
editing/entering feature supported by the control.
Keyboard
You may enter or edit the date value by typing it in the control.
if a value is already present, you may use the up/down arrow keys
to change the value of the selected date part. To move between date
parts, you may use the left/right arrow keys, forward slash (/) or
the period (.). Note that the forward slash and period can only be
used to move forward, while the arrows can be used to move backwards
and forwards. You can't use the numeric keys to change values when
they are month names or weekday names. Howerver, you may use the up/down
arrows to change these values.
Mouse
If ChangeOnDrag Property is set to True, you may drag the selected
date part up or down to change its value. The Up/Down buttons can
be used to change the values as well, provided they are visible.
DropDown Calendar
Another powerful way of selecting date is to use the DropDownCalendar.
If the DropDown button is visible, clicking on this button will bring
up a PopUp MonthCalendar Control, and a date can be selected from
it. The DropDownCalendar will also Pop-Up if you double click on the
control, or press F4.
Entering Null/Empty Values
If AllowEmpty Property is set to True, the DropDownCalendar displays
an [Empty] button which can be used to enter Null Value or Delete
the current value in the DatePicker. The delete key can also be used
to enter Null Value, if AllowEmpty is set to True.
Min/Max Value
The MinDate and MaxDate Properties can be used to force the user
to Select a date within a predefined range.