Partager via


Shell.Current Property

Definition

Static property providing access to the current Shell.

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

Property Value

Remarks

This is a typecast alias for Microsoft.Maui.Controls.Application.Current.MainPage.

Applies to