DropShadowBitmapEffect.Softness Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note: This API is now obsolete. The non-obsolete alternative is DropShadowEffect. Gets or sets the softness of the shadow.
public:
property double Softness { double get(); void set(double value); };
public double Softness { get; set; }
member this.Softness : double with get, set
Public Property Softness As Double
Property Value
The shadow's softness. The valid range of values is from 0 through 1. A value of 0.0 indicates no softness (a sharply defined shadow) and 1.0 indicates maximum softness (a very diffused shadow). A value of 0.5 indicates 50 percent softness, a value of 0.75 indicates 75 percent softness, and so on. The default is 0.5.
Remarks
The following illustration demonstrates the effect of this property.
Dependency Property Information
Item | Value |
---|---|
Identifier field | SoftnessProperty |
Metadata properties set to true |
None |