Skip to main content

Blur Property

Gets or sets the blur radius. This is used to control the amount of blurring.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double Blur {
get;
set; }

Property Value​

Double

Remarks​

The larger this value, the bigger the blur effect, so the shadow becomes larger and more transparent. Negative values are not allowed. If not specified, the default (zero) is used and the shadow edge is sharp.

See Also​

Reference​

BoxShadow Structure
Avalonia.Media Namespace