StripLine.ForeColor 属性

定义

获取或设置带状线文本的颜色。Gets or sets the color of the strip line text.

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

一个 Color 值,该值表示带状线的文本颜色。A Color value that represents the text color of a strip line. 默认值是 BlackThe default value is Black.

属性

注解

您可以为此属性指定任何有效的 ARGB 颜色。You can specify any valid ARGB color for this property. 仅当为条带线指定了文本值时,此属性才适用。This property is only applicable when a text value is specified for the strip line.

适用于