Condividi tramite


CalendarSelectionMode Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies values that describe the available selection modes for a Calendar.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
Public Enumeration CalendarSelectionMode
public enum CalendarSelectionMode
<object property="enumMemberName"/>

Members

Member name Description
SingleDate Only a single date can be selected. Use the SelectedDate property to retrieve the selected date.
SingleRange A single range of dates can be selected. Use the SelectedDates property to retrieve the selected dates.
MultipleRange Multiple non-contiguous ranges of dates can be selected. Use the SelectedDates property to retrieve the selected dates.
None No selections are allowed.

Remarks

This enumeration provides the values that are used by the SelectionMode property.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.