Articles in this section
Category / Section

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

1 min read

Change the header format

To change the header format of WinForms Scheduler 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 in WinForms Scheduler

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 in WinForms Scheduler

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 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)
Please  to leave a comment
Access denied
Access denied