This documentation is archived and is not being maintained.

DropShadowBitmapEffect.Softness Property

Note: This API is now obsolete. The non-obsolete alternative is DropShadowEffect. Gets or sets the softness of the shadow.

Namespace:  System.Windows.Media.Effects
Assembly:  PresentationCore (in PresentationCore.dll)

public double Softness { get; set; }
<object Softness="double" .../>

Property Value

Type: System.Double
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.

Identifier field


Metadata properties set to true


The following illustration demonstrates the effect of this property.

Screenshot: Compare Softness property values

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.