Displays a monthly calendar and allows an end-user to select a date or date range(s).
public class CalendarControl : CalendarControlBase, IDateTouchCalendarControl, ITouchCalendarControl, IPickItemsContainer, IMouseWheelSupport
Public Class CalendarControl Inherits CalendarControlBase Implements IDateTouchCalendarControl, ITouchCalendarControl, IPickItemsContainer, IMouseWheelSupport
Related API Members
The following members accept/return CalendarControl objects:
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:
Any number of months can be visible simultaneously.
Ability to customize the appearance of the calendar's various elements (cells corresponding to regular and special dates, headers, etc.)
Ability to enter the time portion of a date
Multiple views of the calendar control, including a touch-aware UI.
Custom cell size
Ability to display context buttons in calendar cells. This allows you to mark certain date cells with custom text and images.
Draw lines between cells
Specify the first day of the week
The minimum and maximum dates shown
Single or multiple date selection
Displaying week numbers
Disabling certain dates
Custom date painting