AmbientProperties.ForeColor Property

 

Gets or sets the ambient foreground color of an object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Color ForeColor { get; set; }

Property Value

Type: System.Drawing.Color

A Color value that represents the foreground color of an object.

If there is no ambient foreground color, the value of the ForeColor property is set to Color.Empty.

.NET Framework
Available since 1.1
Return to top
Show: