Articles in this section
Category / Section

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

1 min read

Change the backcolor of prime and non-prime timecell

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

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