ScrollBar.ForeColor 属性

定义

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

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

属性值

表示此滚动条控件的前景色的 ColorA Color that represents the foreground color for this scroll bar control. 默认为父控件的前景色。The default is the foreground color of the parent control.

属性

注解

此属性只能以编程方式进行更改;它在属性窗口中不可见。This property can only be changed programmatically; it is not visible in the Properties window.

适用于