Gets or sets the foreground color of the control. There is little point in setting this value directly as it will normally be constantly overwritten at runtime.

Namespace: ASCOM.Controls
Assembly: ASCOM.Controls (in ASCOM.Controls.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public override Color ForeColor { get; set; }
Visual Basic
Public Overrides Property ForeColor As Color
	Get
	Set
Visual C++
public:
virtual property Color ForeColor {
	Color get () override;
	void set (Color value) override;
}

Field Value

Return Value

The foreground Color of the control. The default is the value of the DefaultForeColor property.

See Also