CalendarControl Class
Displays a monthly calendar and allows an end-user to select a date or date range(s).
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxTabName("DX.18.1: Common Controls")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "CalendarControl")]
public class CalendarControl :
CalendarControlBase,
IDateTouchCalendarControl,
ITouchCalendarControl,
IPickItemsContainer,
IMouseWheelSupport
Remarks
The calendar control displays one or multiple months simultaneously. An end-user can select a certain date, a date range or multiple dates/date ranges.
To access selected dates, use the following properties:
- CalendarControlBase.EditValue (in single selection mode).
- CalendarControlBase.SelectedRanges (in multiple selection mode).
The control’s main features include:
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CalendarControl class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.