Shell.Current Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current Shell instance from the active application window.
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.