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)

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
Available since 1.1
Return to top