CalendarDatePicker.DisplayMode Property

Definition

Gets or sets a value that indicates whether the calendar shows selections for month, year, or decade in the picker's CalendarView.

C#
public CalendarViewDisplayMode DisplayMode { get; set; }
XAML
<CalendarDatePicker DisplayMode="calendarViewDisplayModeMemberName" />

Property Value

A value of the enumeration that indicates whether the calendar shows selections for month, year, or decade. The default is Month.

Remarks

This property affects the CalendarDatePicker's internal CalendarView. For more info, see CalendarView.DisplayMode.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also