FrameworkElement.ActualThemeProperty Property

Definition

Identifies the ActualTheme dependency property.

Equivalent WinUI property: Microsoft.UI.Xaml.FrameworkElement.ActualThemeProperty.

public:
 static property DependencyProperty ^ ActualThemeProperty { DependencyProperty ^ get(); };
static DependencyProperty ActualThemeProperty();
public static DependencyProperty ActualThemeProperty { get; }
var dependencyProperty = FrameworkElement.actualThemeProperty;
Public Shared ReadOnly Property ActualThemeProperty As DependencyProperty

Property Value

DependencyProperty

The identifier for the ActualTheme dependency property.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to