Langage

Shell.Current Propriété

Définition

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.

S’applique à