Title.ForeColor 属性

定义

获取或设置标题文本的颜色。

public:
 property System::Drawing::Color ForeColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color ForeColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ForeColor : System.Drawing.Color with get, set
Public Property ForeColor As Color

属性值

一个 Color 值,该值指示标题文本的颜色。

属性

注解

属性 ForeColor 用于设置标题文本颜色。

适用于