Gets or sets the color of a SolidColorBrush.
The Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. See the "colorString Grammar" section in Color.
The brush's color.
This property is read/write. The default value is null, which is evaluated as Transparent for rendering purposes.
For a list of colors, and the script and XAML usages for all properties that take a Color, see the Color reference topic.
You cannot specify a Brush object element such as LinearGradientBrush for this property value by using property element syntax. You can only use XAML attribute syntax to set Color to a color string, as documented in the "colorString Grammar" section of the Color reference topic.
If you deliberately set a Transparent value, as opposed to a null value, the value can be hit tested and will intercept mouse actions that you might have intended for objects beneath the transparency.