DateTimePicker.BackColor DateTimePicker.BackColor DateTimePicker.BackColor DateTimePicker.BackColor Property

定義

取得或設定值,表示 DateTimePicker 控制項的背景色彩。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; }
member this.BackColor : System.Drawing.Color with get, set
Public Overrides Property BackColor As Color

屬性值

Color 的背景 DateTimePickerThe background Color of the DateTimePicker.

備註

設定不會影響的外觀DateTimePickerBackColorSetting the BackColor has no effect on the appearance of the DateTimePicker. 若要為的下拉式日曆DateTimePicker設定背景色彩, CalendarMonthBackground請參閱屬性。To set the background color for the drop-down calendar of the DateTimePicker, see the CalendarMonthBackground property.

適用於

另請參閱