IModalNavigationHost.PlatformModalStack 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 modal pages that the platform has actually presented, in push order. The last entry is the modal currently on screen.
public:
property System::Collections::Generic::IReadOnlyList<Microsoft::Maui::Controls::Page ^> ^ PlatformModalStack { System::Collections::Generic::IReadOnlyList<Microsoft::Maui::Controls::Page ^> ^ get(); };
public System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page> PlatformModalStack { get; }
member this.PlatformModalStack : System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Controls.Page>
Public ReadOnly Property PlatformModalStack As IReadOnlyList(Of Page)
Property Value
Remarks
This is maintained by the framework. It is updated before PushModalAsync(Page, Boolean) is awaited and before PopModalAsync(Page, Boolean) is awaited, so during those calls it already reflects the requested end state.