Articles in this section
Category / Section

How to customize caption panel in WinForms Scheduler?

1 min read

Customize the caption panel

You can customize the caption panel in the WinForms Scheduler control by using the HeaderLabel property and ForeColorChanged event.


this.scheduleControl1.Appearance.CaptionBackColor = Color.Pink;
this.scheduleControl1.HeaderLabel.ForeColor = Color.White;
//change the size of the panel.
this.scheduleControl1.CaptionPanel.Size = new System.Drawing.Size(10, 50);
//set the color.
this.scheduleControl1.HeaderLabel.ForeColorChanged += HeaderLabel_ForeColorChanged;
void HeaderLabel_ForeColorChanged(object sender, EventArgs e)
    this.scheduleControl1.HeaderLabel.ForeColor = Color.White;


Me.scheduleControl1.Appearance.CaptionBackColor = Color.Pink
Me.scheduleControl1.HeaderLabel.ForeColor = Color.White
'change the size of the panel.
Me.scheduleControl1.CaptionPanel.Size = New System.Drawing.Size(10, 50)
'set the color.
AddHandler Me.scheduleControl1.HeaderLabel.ForeColorChanged, AddressOf HeaderLabel_ForeColorChanged
void HeaderLabel_ForeColorChanged(Object sender, EventArgs e)
    Me.scheduleControl1.HeaderLabel.ForeColor = Color.White

After applying the properties, the grid is displayed as follows,

Customize the caption panel in schedule

Figure 1: Output


C#: Captionpanel

VB: Captionpanel


I hope you enjoyed learning on how to customize caption panel in WinForms Scheduler.

You can refer to our WinForms Schedule featuretour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment