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 header format for WeekView and WorkWeekView in WinForms ScheduleControl?

Platform: WinForms |
Control: ScheduleControl |
Published Date: September 18, 2018 |
Last Revised Date: January 9, 2020
Tags: appearance

Change the header format

To change the header format of schedule control in WorkWeek view, WorkWeekHeaderFormat property can be used.

C#

this.scheduleControl1.ScheduleType =  ScheduleViewType.WorkWeek;       
this.scheduleControl1.Appearance.WorkWeekHeaderFormat =  "dd/MM";

VB

Me.scheduleControl1.ScheduleType = ScheduleViewType.WorkWeek
Me.scheduleControl1.Appearance.WorkWeekHeaderFormat =  "dd/MM"

 

Show the workweek view in header of schedule

Week view:

To change the header format of schedule control in Week view, WeekHeaderFormat property can be used.

C#

this.scheduleControl1.ScheduleType =  ScheduleViewType.Week;       
this.scheduleControl1.Appearance.WeekHeaderFormat = "dd/MM/yy";

VB

Me.scheduleControl1.ScheduleType = ScheduleViewType.Week
Me.scheduleControl1.Appearance.WeekHeaderFormat = "dd/MM/yy"

 

Show week view in header of schedule

Month view:

To change the header format of schedule control in Month view, MonthHeaderFormat property can be used.

C#

this.scheduleControl1.ScheduleType = ScheduleViewType.Month;
this.scheduleControl1.Appearance.MonthHeaderFormat = "MMMM/yyyy";

 

VB

Me.scheduleControl1.ScheduleType = ScheduleViewType.Month
Me.scheduleControl1.Appearance.MonthHeaderFormat = "MMMM/yyyy"

 

Show the monthview in header of schedule

Samples:

C#: Change Header Format_CS

VB: Change Header Format_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
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