Edit

Bagikan melalui


DateTimePicker.BackColor Property

Definition

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

public:
 virtual property System::Drawing::Color BackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Browsable(false)]
public override System.Drawing.Color BackColor { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.BackColor : System.Drawing.Color with get, set
Public Overrides Property BackColor As Color

Property Value

The background Color of the DateTimePicker.

Attributes

Remarks

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.

Applies to

See also