title | page_title | description | position | slug |
---|---|---|---|---|
Display Modes |
.NET MAUI Calendar Documentation - Display Modes |
The Calendar for .NET MAUI provides several display modes such as month, year, century, and decade. Learn how to control these display modes. |
2 |
calendar-display-modes |
The Telerik .NET MAUI Calendar is a control that allows the user to select a date from a standard view that can represent various time spans. The Calendar views define what is visible in the Calendar, for example, month, year, decade, or century.
The DisplayMode
property (enum of type Telerik.Maui.Controls.Calendar.CalendarDisplayMode
) defines the current view of the RadCalendar
control. The available display modes are:
Month
(Default)Year
Decade
Century
The user can effortlessly change the DisplayMode
through the UI by tapping (for mobile) or clicking (for desktop) the header text.
You can define a range of display modes that will be available to the user through the following properties:
MinDisplayMode
(enum of typeTelerik.Maui.Controls.Calendar.CalendarDisplayMode
)—Specifies the minimum display mode of the Calendar. The available options areMonth
,Year
,Decade
, andCentury
. WhenMinDisplayMode
isYear
, users can select months from this year.MaxDisplayMode
(enum of typeTelerik.Maui.Controls.Calendar.CalendarDisplayMode
)—Specifies the maximum display mode of the Calendar. The available options areMonth
,Year
,Decade
, andCentury
.
The month view represents all days in a single month.
The year view represents all months in a year.
The decade view represents all years in a decade.
The century view represents all decades in a century.
For all examples with the display modes of the Calendar, check the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and go to Calendar > Display Modes category.
- [Navigation Between the Different Views]({%slug calendar-navigation%})
- [Specify the Formatting]({%slug calendar-date-formatting%})
- [Selection modes]({%slug calendar-selection%})
- [Use exposed Events]({%slug calendar-events%})
- [Use the exposed Commands]({%slug calendar-commands%})
- [Define Templates]({%slug calendar-templates-overview%})
- [Calendar Header Styling]({%slug calendar-header-styling%})