2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
In WinForms DateTimePickerAdv calendar popup, the week number backcolor can be changed by using the property named “WeekInterior” in DateTimePickerAdv.
Note: The “WeekInterior” property can also be applied for MonthCalendarAdv.
The following code example demonstrates the same. C# //To show the weak number. this.dateTimePickerAdv1.Calendar.ShowWeekNumbers = true; //To change the background color of the week numbers. this.dateTimePickerAdv1.Calendar.WeekInterior = new Syncfusion.Drawing.BrushInfo(Color.Gray);
VB 'To show the weak number. Me.dateTimePickerAdv1.Calendar.ShowWeekNumbers = True 'To change the background color of the week numbers. Me.dateTimePickerAdv1.Calendar.WeekInterior = New Syncfusion.Drawing.BrushInfo(Color.Gray)
Figure 1: Backcolor is applied in Colum header. Sample Links: |
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.