Class SolidColorBrush

SolidColorBrush class

The solid color brush. The SolidColorBrush element is used to fill defined geometric regions with a solid color. If there is an alpha component of the color, it is combined in a multiplicative way with the corresponding Opacity attribute.

public class SolidColorBrush

Constructors

NameDescription
SolidColorBrush()Initializes a new instance of the SolidColorBrush class.

Properties

NameDescription
Color { get; set; }Gets or sets the color. Specifies the color for filled elements.
Opacity { get; set; }Gets or sets the opacity. Defines the uniform transparency of the brush fill. Values range from 0 (fully transparent) to 1 (fully opaque), inclusive. Values outside of this range are invalid.

See Also