Dela via


Compositor.TryCreateBlurredWallpaperBackdropBrush Method

Definition

Creates an instance of CompositionBackdropBrush that draws the blurred wallpaper behind the current visual.

public:
 virtual CompositionBackdropBrush ^ TryCreateBlurredWallpaperBackdropBrush() = TryCreateBlurredWallpaperBackdropBrush;
CompositionBackdropBrush TryCreateBlurredWallpaperBackdropBrush();
public CompositionBackdropBrush TryCreateBlurredWallpaperBackdropBrush();
function tryCreateBlurredWallpaperBackdropBrush()
Public Function TryCreateBlurredWallpaperBackdropBrush () As CompositionBackdropBrush

Returns

Returns the created CompositionBackdropBrush.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

This method creates a CompositionBackdropBrush that can be applied as an input to a CompositionEffectBrush or directly as a brush on a SpriteVisual. This brush draws a blurred version of the current desktop wallpaper that would be seen directly behind the current visual.

Applies to