ListBox.BackColor 属性

定义

获取或设置控件的背景色。Gets or sets the background color for the control.

public:
 virtual property System::Drawing::Color BackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public override System.Drawing.Color BackColor { get; set; }
member this.BackColor : System.Drawing.Color with get, set
Public Overrides Property BackColor As Color

属性值

表示控件背景色的 ColorA Color that represents the background color of the control. 默认为 DefaultBackColor 属性的值。The default is the value of the DefaultBackColor property.

适用于