Jaa


AcrylicBrush.BackgroundSource Property

Definition

Gets or sets a value that specifies whether the brush samples from the app content or from the content behind the app window.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.AcrylicBrush.BackgroundSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property AcrylicBackgroundSource BackgroundSource { AcrylicBackgroundSource get(); void set(AcrylicBackgroundSource value); };
AcrylicBackgroundSource BackgroundSource();

void BackgroundSource(AcrylicBackgroundSource value);
public AcrylicBackgroundSource BackgroundSource { get; set; }
var acrylicBackgroundSource = acrylicBrush.backgroundSource;
acrylicBrush.backgroundSource = acrylicBackgroundSource;
Public Property BackgroundSource As AcrylicBackgroundSource

Property Value

A value of the enumeration that specifies whether the brush samples from the app content or from the content behind the app window.

Applies to