Bagikan melalui


DropShadowEffect.BlurRadius Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets how defined the edges of the shadow are (how blurry the shadow is).

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

Syntax

'Declaration
Public Property BlurRadius As Double
public double BlurRadius { get; set; }
<DropShadowEffect BlurRadius="double"/>

Property Value

Type: System.Double
How blurry the shadow is. The default is 5.

Remarks

Dependency property identifier field: BlurRadiusProperty

The following illustration demonstrates the effect of this property.

DropShadow with small BlurRadius value.Shows a lot of blur applied to button.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.