AcrylicBrush.BackgroundSource 属性

定义

获取或设置一个值,该值指定应用内容中的画笔样本还是应用窗口后面的内容。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

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

属性值

AcrylicBackgroundSource

枚举的值,该值指定是应用内容中的画笔样本还是应用窗口后面的内容。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于