OwnerDrawPropertyBag.ForeColor 属性

定义

获取或设置组件的前景色。

此 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

属性值

组件的前景色。 默认值为 Empty

适用于