Jaa


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:
 property CalendarViewDisplayMode DisplayMode { CalendarViewDisplayMode get(); void set(CalendarViewDisplayMode value); };
CalendarViewDisplayMode DisplayMode();

void DisplayMode(CalendarViewDisplayMode value);
public CalendarViewDisplayMode DisplayMode { get; set; }
var calendarViewDisplayMode = calendarDatePicker.displayMode;
calendarDatePicker.displayMode = calendarViewDisplayMode;
Public 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.

Applies to

See also