title | page_title | description | position | slug |
---|---|---|---|---|
Header Text Formatting |
.NET MAUI Calendar Documentation - Header Text Formatting |
Learn how to format the header text of the Telerik UI for .NET MAUI Calendar control. |
9 |
calendar-date-formatting |
The .NET MAUI Calendar allows you to specify the format of the header label text in the different display modes. The format must be a valid date format. The available options for the header label text formatting are:
MonthHeaderTextFormat
(string
)—Specifies the format of the header text when the CalendarDisplayMode
isMonth
.YearHeaderTextFormat
(string
)—Specifies the format of the header text when the CalendarDisplayMode
isYear
.DecadeHeaderTextFormat
(string
)—Specifies the format of the header text when the CalendarDisplayMode
isDecade
.CenturyHeaderTextFormat
(string
)—Specifies the format of the header text when the CalendarDisplayMode
isCentury
.
The following example demonstrates how to define a Calendar and format the header text with the MonthHeaderTextFormat
, YearHeaderTextFormat
, DecadeHeaderTextFormat
, and CenturyHeaderTextFormat
properties:
- [Navigation Between the Different Views]({%slug calendar-navigation%})
- [Specify the Formatting]({%slug calendar-date-formatting%})
- [Selection modes]({%slug calendar-selection%})
- [Use the exposed Commands]({%slug calendar-commands%})
- [Define Templates]({%slug calendar-templates-overview%})
- [Calendar Header Styling]({%slug calendar-header-styling%})