CalendarView.DisplayMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the calendar shows a picker for month, year, or decade.
public:
property CalendarViewDisplayMode DisplayMode { CalendarViewDisplayMode get(); void set(CalendarViewDisplayMode value); };
CalendarViewDisplayMode DisplayMode();
void DisplayMode(CalendarViewDisplayMode value);
public CalendarViewDisplayMode DisplayMode { get; set; }
var calendarViewDisplayMode = calendarView.displayMode;
calendarView.displayMode = calendarViewDisplayMode;
Public Property DisplayMode As CalendarViewDisplayMode
<CalendarView DisplayMode="calendarViewDisplayModeMemberName" />
Property Value
A value of the enumeration that indicates whether the calendar shows a picker for month, year, or decade. The default is Month.