OuterGlowBitmapEffect.Opacity OuterGlowBitmapEffect.Opacity OuterGlowBitmapEffect.Opacity OuterGlowBitmapEffect.Opacity Property


Note: This API is now obsolete. The non-obsolete alternative is BlurEffect. Gets or sets the degree of opacity of the halo glow.

 property double Opacity { double get(); void set(double value); };
public double Opacity { get; set; }
member this.Opacity : double with get, set
Public Property Opacity As Double

Property Value

The opacity level of the glow. A value of 0 indicates that the halo glow is completely transparent, while a value of 1 indicates that the glow is completely opaque. A value of 0.5 indicates the glow is 50 percent opaque, a value of 0.725 indicates the glow is 72.5 percent opaque, and so on. Values less than 0 are treated as 0, while values greater than 1 are treated as 1. The default is 1.


The following illustration demonstrates the effect of this property:

Screenshot: Compare glow opacity property values

Opacity can also be specified using the alpha value of GlowColor.

Dependency Property Information

Identifier field OpacityProperty
Metadata properties set to true None

Applies to