Articles in this section

How to change the back color of PrimeTimeCell and Non-PrimeTimeCell in WinForms ScheduleControl?

Change the backcolor of prime and non-prime time cells


You can set the color to the PrimeTimeCell and NonPrimeTimeCell by using the PrimeTimeCellColor and NonPrimeTimeCellColor properties.


C#

this.scheduleControl1.Appearance.PrimeTimeCellColor = Color.Pink;
this.scheduleControl1.Appearance.NonPrimeTimeCellColor = Color.Wheat;

VB

Me.scheduleControl1.Appearance.PrimeTimeCellColor = Color.Pink
Me.scheduleControl1.Appearance.NonPrimeTimeCellColor = Color.Wheat

The following screenshot illustrates the output.

Set the primetimecell and nonprimetimecell color

Figure 1: Setting the PrimeTimeCell Color and NonPrimeTimeCell Color

Samples:

C#: PrimeTimeCell

VB: PrimeTimeCell 

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