Dela via


CalendarViewSelectionMode Enum

Definition

Defines constants that specify what kind of date selections are allowed in the calendar.

public enum class CalendarViewSelectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CalendarViewSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CalendarViewSelectionMode
Public Enum CalendarViewSelectionMode
Inheritance
CalendarViewSelectionMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

Date selection is disabled.

Single 1

One date can be selected at a time.

Multiple 2

One or more dates can be selected at a time.

Remarks

This enumeration provides values for the CalendarView.SelectionMode property.

Applies to

See also