Hello,
Welcome to our Microsoft Q&A platform!
If you open page as PushModalAsync
. You can use var CurrentPage = Navigation.ModalStack.ToList<Page>().Last<Page>();
code to get the current display page.
If you want to get all of opened page by PushModalAsync
. Please use following code.
List<Page> pages= Navigation.ModalStack.ToList<Page>();
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.