Telerik UI for Windows 8 XAML

SelectionMode

When the DisplayMode of the RadCalendar control is set to MonthView, the user can make selection of cells. To enable selection, the SelectionMode property of the calendar should be set to Single or Multiple.

  • In Single selection mode only one cell could be selected at a time.

  • In Multiple selection mode multiple cells/cell ranges could be selected.

  • In None selection mode the selection is disabled.

Making Selection

Single cell is selected by clicking/tapping on it. If the cell is focused, then hitting the ENTER button will select it.

In Multiple selection mode you have to click/hold on the cell where the selection starts and drag to the end cell you want to be selected. This way you may add as many selections as you want to the current selectoin. When you hold on a cell in touch mode you will see an indicator, showing when you are ready to drag - see the image below:

Calendar-Hold Indicator
Note

If you just click/tap on a cell, this will clear the selection and only the clicked/tapped cell will be selected. To add a single cell to the selection, you have to use the technique described above, as the start and the end point should lie within the cell you want to select.

Properties and Events

  • SelectedDateRange (CalendarDateRange?) - Gets or sets the first date range in the current selection or returns null if the selection is empty. Setting this property in a calendar that supports multiple selections clears existing selected ranges and sets the selection to the range specified.

  • SelectedDateRanges (CalendarDateRangeCollection) - holds a collection of all selection ranges.

  • SelectionChanged (event) - this event is raised when the selection of the calendar is changed.