We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the header of SfCalendar?

You can customize the header of SfCalendar by using the HeaderTemplate property. This article explains how to customize the header of SfCalendar and to display the month.

Customize the header of SfCalendar

Create a WindowsPhone application and add SfCalendar to it. Set the HeaderTemplate to SfCalendar. Bind the DisplayDate of SfCalendar to the Text property of the TextBlock. In the following code example, StringFormat is set asMMMM to change the header.


The following screenshot displays the output of the above code.

Figure 1: SfCalendar with customized Header that displays the Month of the displayed date

Article ID: Published Date: Last Revised Date: Platform: Control:
4921 05/20/2015 05/20/2015 Windows Phone SfCalendar
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon