FrameworkElement.ActualTheme Property

Definition

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

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

Property Value

ElementTheme

A value of the enumeration, for example Light.

Applies to