SolidBrush.Color Property


Gets or sets the color of this SolidBrush object.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public Color Color { get; set; }

Property Value

Type: System.Drawing.Color

A Color structure that represents the color of this brush.

Exception Condition

The Color property is set on an immutable SolidBrush.

.NET Framework
Available since 1.1
Return to top