Application.RequestedTheme Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le thème actuel, en retournant UserAppTheme si défini, sinon PlatformAppTheme.
public:
property Microsoft::Maui::ApplicationModel::AppTheme RequestedTheme { Microsoft::Maui::ApplicationModel::AppTheme get(); };
public Microsoft.Maui.ApplicationModel.AppTheme RequestedTheme { get; }
member this.RequestedTheme : Microsoft.Maui.ApplicationModel.AppTheme
Public ReadOnly Property RequestedTheme As AppTheme