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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the back color of special dates like Saturday and Sunday ?

You can set different colors for specific days in the Schedule control. This can be achieved by checking the Column index and using the QueryCellInfo event.

In the following code example, different colors for the 5th and 6th columns are applied.






Samples Links

C#: ScheduleControl_CS

VB: ScheduleControl_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4988 05/23/2015 05/23/2015 WinForms ScheduleControl
Did you find this information helpful?
Felix Bagur Nov 23, 2017

If I change the view to day and then back to month, the different colors for specific days disappeared.

Mohanraj Gunasekaran [Syncfusion] Nov 23, 2017

Hi Felix,


Thanks for using Syncfusion product.


We can understand your scenario. If you change the schedule view, we have unwired this event internally. So, you need to trigger again this event using SetupContextMenu event. Please refer to the below code example,


Code example

this.scheduleControl1.SetupContextMenu += scheduleControl1_SetupContextMenu;

void scheduleControl1_SetupContextMenu(object sender, CancelEventArgs e)


    if (this.scheduleControl1.ScheduleType == ScheduleViewType.Month)


        this.scheduleControl1.GetScheduleHost().QueryCellInfo += Form1_QueryCellInfo;




Please let us know if you have any concerns.



Mohanraj G

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