Dela via


ApplicationTheme Enum

Definition

Declares the theme preference for an app.

public enum class ApplicationTheme
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ApplicationTheme
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ApplicationTheme
Public Enum ApplicationTheme
<object property="enumMemberName"/> 
 
Inheritance
ApplicationTheme
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Light 0

Use the Light default theme.

Dark 1

Use the Dark default theme.

Applies to

See also