CalendarDatePicker.DisplayMode CalendarDatePicker.DisplayMode CalendarDatePicker.DisplayMode 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.

public : CalendarViewDisplayMode DisplayMode { get; set; }
CalendarViewDisplayMode DisplayMode();

void DisplayMode(CalendarViewDisplayMode displaymode);
public CalendarViewDisplayMode DisplayMode { get; set; }
Public ReadWrite Property DisplayMode As CalendarViewDisplayMode
<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.

See also