FrameworkElement.ActualTheme Property

Definition

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

C#
public ElementTheme ActualTheme { get; }

Property Value

A value of the enumeration, for example Light.

Applies to

Produk Versi
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6