Modifica

Condividi tramite


DropShadowBitmapEffect.Softness Property

Definition

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.

Screenshot: Compare Softness property values

Dependency Property Information

Identifier field SoftnessProperty
Metadata properties set to true None

Applies to