ApplicationTheme Enum

Definition

Declares the theme preference for an app.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
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

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also