FrameworkElement.ActualTheme FrameworkElement.ActualTheme FrameworkElement.ActualTheme FrameworkElement.ActualTheme Property

Definition

Gets the UI theme that is currently used by the element, which might be different than the RequestedTheme.

public : ElementTheme ActualTheme { get; }
ElementTheme ActualTheme();
public ElementTheme ActualTheme { get; }
Public ReadOnly Property ActualTheme As ElementTheme

Property Value

A value of the enumeration, for example Light.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)