CalendarDatePicker.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 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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro