ApplicationTheme ApplicationTheme ApplicationTheme ApplicationTheme Enum

Definition

Declares the theme preference for an app.

public : enum class ApplicationTheme
public enum ApplicationTheme
Public Enum ApplicationTheme
var value = Windows.UI.Xaml.ApplicationTheme.dark;
<object property="enumMemberName"/> 
 
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Dark Dark Dark Dark

Use the Dark default theme.

Light Light Light Light

Use the Light default theme.