Rediger

Del via


AmbientProperties.ForeColor Property

Definition

Gets or sets the ambient foreground color of an object.

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

Property Value

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

Remarks

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

Applies to

See also