ListBox.ForeColor 属性

定义

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

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

属性值

控件的前景 ColorThe foreground Color of the control. 默认为 DefaultForeColor 属性的值。The default is the value of the DefaultForeColor property.

适用于