SolidBrush.Color Property

Definition

Gets or sets the color of this SolidBrush object.

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

Property Value

A Color structure that represents the color of this brush.

Exceptions

The Color property is set on an immutable SolidBrush.

Applies to