Skip to content

UIElement.BackdropFilter property

Gets or sets the filter applied to what is drawn behind the element, such as a blur for frosted glass. The element’s own background and content are drawn over the result.

public ImageFilter? BackdropFilter { get; set; }

The backdrop reads only the element’s layout box and takes the pixels at its edge for what lies beyond, so nothing outside the box shows in it. Inside a faded group or a cached element it reads what that group or cache has drawn, not the window. Where it cannot read at all, BackdropFallbackBrush is drawn.

Fluent: .BackdropFilter(ImageFilter)