0 out of 2 rated this helpful - Rate this topic

DateTimePicker.BackColor Property

Gets or sets a value indicating the background color of the DateTimePicker control.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)
[BrowsableAttribute(false)]
public override Color BackColor { get; set; }

Property Value

Type: System.Drawing.Color
The background Color of the DateTimePicker.

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
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 :(