Share via


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.

This documentation applies to WinUI 2 for UWP (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);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")]
AcrylicBackgroundSource BackgroundSource();

void BackgroundSource(AcrylicBackgroundSource value);
public AcrylicBackgroundSource BackgroundSource { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")]
public AcrylicBackgroundSource BackgroundSource { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::AcrylicBackgroundSource::Backdrop")] set; }
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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to