Shell.Current 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 l’instance actuelle Shell à partir de la fenêtre d’application active.
public:
static property Microsoft::Maui::Controls::Shell ^ Current { Microsoft::Maui::Controls::Shell ^ get(); };
public static Microsoft.Maui.Controls.Shell Current { get; }
static member Current : Microsoft.Maui.Controls.Shell
Public Shared ReadOnly Property Current As Shell
Valeur de propriété
Remarques
Il s’agit d’un alias de typecast pour Microsoft.Maui.Controls.Application.Current.MainPage.