# .NET MAUI Calendar Display Modes

The Telerik <a href="https://www.telerik.com/maui-ui/calendar" target="_blank">.NET MAUI Calendar</a> 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.

## Setting the Display Mode Programmatically

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`

## Changing the Display Mode through the UI

The user can effortlessly change the `DisplayMode` through the UI by tapping (for mobile) or clicking (for desktop) the header text.

![Telerik UI for .NET MAUI Calendar changing display modes through the header label](https://www.telerik.com/maui-ui/documentation/assets/03c688b8bea8407894384e913a6b9d9f/calendar-change-display-mode.gif)

## Setting Min and Max Display Mode

You can define a range of display modes that will be available to the user through the following properties:

* `MinDisplayMode` (enum of type `Telerik.Maui.Controls.Calendar.CalendarDisplayMode`)—Specifies the minimum display mode of the Calendar. The available options are `Month`, `Year`, `Decade`, and `Century`. When `MinDisplayMode` is `Year`, users can select months from this year.
* `MaxDisplayMode` (enum of type `Telerik.Maui.Controls.Calendar.CalendarDisplayMode`)—Specifies the maximum display mode of the Calendar. The available options are `Month`, `Year`, `Decade`, and `Century`.

```XAML
<telerik:RadCalendar DisplayMode="Decade"
                     MinDisplayMode="Year"
                     MaxDisplayMode="Decade" />
```

## Month View

The month view represents all days in a single month.

```XAML
<telerik:RadCalendar DisplayMode="Month" />
```

![Telerik UI for .NET MAUI Calendar Month display mode showing the days of June 2023](https://www.telerik.com/maui-ui/documentation/assets/3bc4a8f732854445bce48e3d29304576/display-mode-month.png)

## Year View

The year view represents all months in a year.

```XAML
<telerik:RadCalendar DisplayMode="Year" />
```

![Telerik UI for .NET MAUI Calendar Year display mode showing the twelve months of 2023](https://www.telerik.com/maui-ui/documentation/assets/4aa9fcd11acfd9aaea702419ac11bf1f/display-mode-year.png)

## Decade View

The decade view represents all years in a decade.

```XAML
<telerik:RadCalendar DisplayMode="Decade" />
```

![Telerik UI for .NET MAUI Calendar Decade display mode showing the years 2019 through 2030](https://www.telerik.com/maui-ui/documentation/assets/b5f5d2b513ba519703f0b869ca091df2/display-mode-decade.png)

## Century View

The century view represents all decades in a century.

```XAML
<telerik:RadCalendar DisplayMode="Century" />
```

![Telerik UI for .NET MAUI Calendar Century display mode showing decade ranges from 1990 through 2110](https://www.telerik.com/maui-ui/documentation/assets/2970f9bfd04b70b15998edfec460f730/display-mode-century.png)

> For all examples with the display modes of the Calendar, check the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and go to **Calendar > Display Modes** category.

## See Also

* [Navigation Between the Different Views](https://www.telerik.com/maui-ui/documentation/controls/calendar/navigation)
* [Specify the Formatting](https://www.telerik.com/maui-ui/documentation/controls/calendar/formatting)
* [Selection modes](https://www.telerik.com/maui-ui/documentation/controls/calendar/selection)
* [Use exposed Events](https://www.telerik.com/maui-ui/documentation/controls/calendar/events)
* [Use the exposed Commands](https://www.telerik.com/maui-ui/documentation/controls/calendar/commands)
* [Define Templates](https://www.telerik.com/maui-ui/documentation/controls/calendar/templates)
* [Calendar Header Styling](https://www.telerik.com/maui-ui/documentation/controls/calendar/styling/header-styling)
