FrameworkElement.ActualTheme Proprietà

Definizione

Ottiene il tema dell'interfaccia utente attualmente utilizzato dall'elemento , che potrebbe essere diverso da RequestedTheme.

public:
 property ElementTheme ActualTheme { ElementTheme get(); };
ElementTheme ActualTheme();
public ElementTheme ActualTheme { get; }
var elementTheme = frameworkElement.actualTheme;
Public ReadOnly Property ActualTheme As ElementTheme

Valore della proprietà

Valore dell'enumerazione, ad esempio Light.

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Si applica a