Brush.Opacity Brush.Opacity Brush.Opacity Brush.Opacity Property

Definition

Gets or sets the degree of opacity of a Brush.

public : double Opacity { get; set; }
double Opacity();

void Opacity(double opacity);
public double Opacity { get; set; }
Public ReadWrite Property Opacity As double
<brush Opacity="double"/>

Property Value

double double

The value of the Opacity property is expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity.