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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the label of the appointments in the calendar of WinForms Schedule?

Platform: WinForms |
Control: ScheduleControl

Change the label of appointments

In order to change the label of appointment, ParseDisplayItem event can be used. In that event, label of that appointment can be customized by using e.FormattedText property.


//Event Triggering.
this.scheduleControl1.ParseDisplayItem += new ParseDisplayItemEventHandler(this.scheduleControl1_ParseDisplayItem);
//Event Handling.
private void scheduleControl1_ParseDisplayItem(object sender, ParseDisplayItemEventArgs e)
    e.Item.Subject = "Title";
    e.FormattedText = e.Item.StartTime.Hour + ":" + ((System.Convert.ToString(e.Item.StartTime.Minute).Length == 1) ? "0": "") + e.Item.StartTime.Minute + " --> " + e.Item.Subject;  
    e.Handled = true;


'Event triggering.
AddHandler scheduleControl1.ParseDisplayItem, AddressOf scheduleControl1_ParseDisplayItem
'Event Handling
Private Sub scheduleControl1_ParseDisplayItem(ByVal sender As Object, ByVal e As ParseDisplayItemEventArgs)
    e.Item.Subject = "Title"
    e.FormattedText = e.Item.StartTime.Hour & ":" & (If((System.Convert.ToString(e.Item.StartTime.Minute).Length = 1), "0", "")) +    e.Item.StartTime.Minute & " --> " & e.Item.Subject
    e.Handled = True
End Sub


Change the label of appointments in the calendar


C#: Customizing Appointmentlabel_CS

VB: Customizing Appointmentlabel_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile