AcrylicBrush.BackgroundSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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