IModalNavigationHost.CurrentPlatformPage 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 page that is currently hosting content on the platform: the topmost entry of PlatformModalStack, or the window's page when no modal has been presented.
public:
property Microsoft::Maui::Controls::Page ^ CurrentPlatformPage { Microsoft::Maui::Controls::Page ^ get(); };
public Microsoft.Maui.Controls.Page CurrentPlatformPage { get; }
member this.CurrentPlatformPage : Microsoft.Maui.Controls.Page
Public ReadOnly Property CurrentPlatformPage As Page
Property Value
Exceptions
Thrown when there is no presented modal and the window has no page.