You can customize the RadCalendar Title to define how and what information should be shown.
Title text
The text on the title depends on whether the calendar is in single- or multi-view mode.
- In single-view mode, the text of the title is the formatted value of the first month shown in the day matrix. More
precisely, it is the formatted value of a DateTime object for the first day of the current month at 12:00 AM.
- In multi-view mode, the text of the title is the formatted value of the first month view that is showing, followed by a date range separator, followed by the formatted
value of the last month view that is showing. More precisely, it is the formatted value of a DateTime object for the first day of the first month at 12:00 AM, followed by a
date range separator, followed by the formatted value of a DateTime object for the last day of the last month at 12:00 AM.
You can control the formatting of the dates in the title using the TitleFormat and DateRangeSeparator properties:
- The TitleFormat property is a standard Date format pattern, that controls how the DateTime
objects that represent the date or dates in the title are formatted.
- The DateRangeSeparator property is the string that is used as a date range separator in multi-view mode.
You can control the placement of the title text in the title bar by setting the TitleAlign property. TitleAlign can be set to any of the
values applicable to an HTML align attribute, or it can be set to "NotSet", which leaves the align attribute off the rendered HTML for the title element.
 |
When the calendar is in multi-view mode, the TitleAlign property controls the alignment of the titles for
each individual view as well as the alignment of the title in the title bar. |
The following screen shots show the effects of the TitleFormat, DateRangeSeparator, and TitleAlign properties:


Title bar appearance
In addition to the title text, the title bar contains a set of navigation controls for changing the current view. For information on how to remove the navigation buttons or
customize their appearance, see Customizing the Navigation Controls.
The TitleStyle property affects the overall appearance of the title bar area. For details on using style properties, see Styles.
See Also