Selecting Multiple Dates in WPF Calendar (CalendarEdit)

CalendarEdit control allows you to select multiple dates, by setting the AllowMultiplySelection property to true. The following code example illustrates this.

<!-- Adding CalendarEdit with multiple selection feature-->
<syncfusion:CalendarEdit Name="calendarEdit" AllowMultiplySelection="True"/>
//Creating an instance of CalendarEdit control
CalendarEdit calendarEdit = new CalendarEdit();

//Allow multiple selection of date
calendarEdit.AllowMultiplySelection = true;

//Adding CalendarEdit as window content
this.Content = calendarEdit;

Multiple date selection

See Also

Scrolling to the Selected Date