Gets or sets the degree of opacity of the shadow.
Assembly: System.Windows (in System.Windows.dll)
Property ValueType: System.Double
The degree of opacity. The valid range of values is from 0 through 1, where 0 is completely transparent and 1 is completely opaque. The default is 1.
Dependency property identifier field: OpacityProperty
A value of 0 indicates that the shadow is completely transparent, and a value of 1 indicates that the shadow is completely opaque. A value of 0.5 indicates the shadow is 50 percent opaque, a value of 0.725 indicates the shadow is 72.5 percent opaque, and so on. Values less than 0 are treated as 0, and values greater than 1 are treated as 1.
The following illustrations demonstrate the effect of this property.