OwnerDrawPropertyBag.BackColor OwnerDrawPropertyBag.BackColor OwnerDrawPropertyBag.BackColor OwnerDrawPropertyBag.BackColor Property

定义

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

此 API 支持产品基础结构,不能在代码中直接使用。

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

属性值

Color,表示组件的背景色。A Color that represents the background color of the component. 默认值为 EmptyThe default is Empty.

适用于