OwnerDrawPropertyBag.ForeColor OwnerDrawPropertyBag.ForeColor OwnerDrawPropertyBag.ForeColor OwnerDrawPropertyBag.ForeColor Property

定义

获取或设置组件的前景色。Gets or sets the foreground color of the component.

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

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

属性值

组件的前景色。The foreground color of the component. 默认值为 EmptyThe default is Empty.

适用于