CalendarPicker.DisplayMode property

[This documentation is preliminary and is subject to change.]

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

Syntax

public CalendarViewDisplayMode DisplayMode { get; set; }
Public Property DisplayMode As CalendarViewDisplayMode
public:
property CalendarViewDisplayMode DisplayMode { 
   CalendarViewDisplayMode get();
   void set (CalendarViewDisplayMode value);
}

Property value

Type: CalendarViewDisplayMode

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 CalendarPicker's internal CalendarView. For more info, see CalendarView.DisplayMode.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

CalendarPicker

CalendarView.DisplayMode