Calendar.DisplayMode Property

Gets or sets a value indicating whether the calendar is displayed in months, years, or decades.

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

public CalendarMode DisplayMode { get; set; }
<sdk:Calendar DisplayMode="modeValue"/>

XAML Values


A named constant of the CalendarMode enumeration, such as Year.

Property Value

Type: System.Windows.Controls.CalendarMode
A value indicating what length of time the Calendar should display.

Dependency property identifier field: DisplayModeProperty


Supported in: 5, 4, 3

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

Adiciones de comunidad