[]
By default, one day can be selected at a time. You can select more than one day by increasing the value of the C1Calendar.MaxSelectionCount property. At run time depending on the value of the C1Calendar.MaxSelectionCount property, multiple days can be selected while holding the CTRL key and clicking the left mouse button. The selectable days appear with an orange backcolor by default.
To see how to set a maximum number of selectable days, see Specifying the Maximum Number of Days that can be Selected in C1Calendar.
You can specify the maximum and minimum date for date selection on the calendar through the CalendarBase.MaxDate and CalendarBase.MinDate properties. By default the minimum is 1/1/1753 and the maximum is 12/31/9998. When the maximum and minimum dates are applied, the dates past these values become unselectable. As a result, the selection color or action will not be applicable if the user attempts to select a date past the specified range.
To specify the maximum number of days that can be selected in C1Calendar, set the C1Calendar.MaxSelectionCount property to an integer. In this example, we will allow a maximum of 31 days that can be selected in the calendar month display area.
Using Visual Studio
To set the maximum number of selected days to ‘31’ in Visual Studio:
Add a C1Calendar control to your window and select it.
In the Properties window, enter ‘31’ next to the C1Calendar.MaxSelectionCount property.
Using XAML
The following XAML sets the C1Calendar.MaxSelectionCount property to ‘31’:
<c1:C1Calendar HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1Calendar1" VerticalAlignment="Top" MaxSelectionCount="31" />