AcrylicBackgroundSource Enum
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.
Defines values that specify 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.AcrylicBackgroundSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public enum class AcrylicBackgroundSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class AcrylicBackgroundSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum AcrylicBackgroundSource
var value = Windows.UI.Xaml.Media.AcrylicBackgroundSource.hostBackdrop
Public Enum AcrylicBackgroundSource
- Inheritance
-
AcrylicBackgroundSource
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Fields
Name | Value | Description |
---|---|---|
HostBackdrop | 0 | The brush samples from the content behind the app window. |
Backdrop | 1 | The brush samples from the app content. |