Udostępnij za pośrednictwem


ApplicationTheme Enum

Definition

Declares the theme preference for an app.

public enum class ApplicationTheme
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ApplicationTheme
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ApplicationTheme
Public Enum ApplicationTheme
Inheritance
ApplicationTheme
Attributes

Fields

Name Value Description
Light 0

Use the Light default theme.

Dark 1

Use the Dark default theme.

Applies to

See also