How to customize the appearance of WinForms MonthCalendarAdv?
Customize the appearance of MonthCalendarAdv
The appearance of MonthCalenderAdv can be customized like Microsoft MonthCalender by using its properties named NoneButtonVisible, CalendarTitleBackColor and CalendarMonthBackground.
C#
/// <summary>
/// Constructor
/// </summary>
public Form1()
{
InitializeComponent();
//Disable None Button
this.dateTimePickerAdv1.NoneButtonVisible = false;
//Set the CalenderTitleBackColor
this.dateTimePickerAdv1.CalendarTitleBackColor = Color.White;
//Set the CalenderMonthBackGround color
this.dateTimePickerAdv1.CalendarMonthBackground = Color.White;
}
VB
''' <summary> ''' Constructor ''' </summary> Public Sub New() InitializeComponent() 'Disable None Button Me.dateTimePickerAdv1.NoneButtonVisible = False 'Set the CalenderTitleBackColor Me.dateTimePickerAdv1.CalendarTitleBackColor = Color.White 'Set the CalenderMonthBackGround color Me.dateTimePickerAdv1.CalendarMonthBackground = Color.White End Sub
Screenshot

Samples: