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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.