Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.8 KB

formatting.md

File metadata and controls

33 lines (24 loc) · 1.8 KB
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

.NET MAUI Calendar Header Text 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 Calendar DisplayMode is Month.
  • YearHeaderTextFormat(string)—Specifies the format of the header text when the Calendar DisplayMode is Year.
  • DecadeHeaderTextFormat(string)—Specifies the format of the header text when the Calendar DisplayMode is Decade.
  • CenturyHeaderTextFormat(string)—Specifies the format of the header text when the Calendar DisplayMode is Century.

Header Text Format Example

The following example demonstrates how to define a Calendar and format the header text with the MonthHeaderTextFormat, YearHeaderTextFormat, DecadeHeaderTextFormat, and CenturyHeaderTextFormat properties:

.NET MAUI Calendar Header Text Formatting

See Also

  • [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%})