DateTimePicker.BackColor Property
.NET Framework 4
Gets or sets a value indicating the background color of the DateTimePicker control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Setting the BackColor has no effect on the appearance of the DateTimePicker. To set the background color for the drop-down calendar of the DateTimePicker, see the CalendarMonthBackground property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
But
But I want to change the back color of the dateTimePicker itself, not the dropdown. Why is this control SO non standard. Disable doesn't gray it out, backcolor can't be changed, forecolor can't be changed. Highlighting multiple days looks terrible. There is so much wrong with this control :(
- 8/19/2011
- JustinLD