EntrySet.Controls Namespace
DatePicker Component
|
|
The DatePicker control allows the user to select a single item from a list of dates. It appears in two parts: a drop-down list with a date or time represented in text, and a grid that appears when you click on the down-arrow next to the list. The grid looks like the MonthCalendar control, which can be used for selecting date.

The PureComponents DatePicker control allows the user to select a single item from a list of dates or times. When used to represent a date, it appears in two parts: a drop-down list with a date represented in text, and a grid that appears when you click on the down-arrow next to the list. The grid looks like the MonthCalendar control, which can be used for selecting date.
The control's MaxDate and MinDate properties determine the range of dates and times. The Value property contains the current date and time the control is set to. The values can be displayed in four formats, which are set by the Format property: Long, Short, Time, or Custom. If a custom format is selected, you must set the CustomFormat property to an appropriate string.
Appearance
The appearance of DatePicker influences DatePickerStyle class, which contains the CalendarStyle subclass. This subclass influences the appearance of the calendar's drop down.