Articles in this section
Category / Section

How to change the header format for WeekView and WorkWeekView in WinForms ScheduleControl?

Change the header format


To change the header format of WinForms ScheduleControl 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"

 Work Week view header format as shown in the screenshot below

Show the workweek view in header of schedule in WinForms Scheduler

Week view:

To change the header format of ScheduleControl 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"

Week view header format as shown in the screenshot below

Show week view in header of schedule in WinForms Scheduler

Month view:

To change the header format of ScheduleControl 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"

 Month view header format as shown in the screenshot below

Show the monthview in header of schedule in WinForms Scheduler

Samples:

C#: Change Header Format_CS

VB: Change Header Format_VB

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied