Skip to content

Modal Pop Up

To display a modal pop up we use the the Navigation property and call PushModalAsync. It will be your responsibility to pop the page off the stack.

    var detailPage = new DetailPage ();
    await Navigation.PushModalAsync (detailPage

and then in the DetailPage, the page can pop itself from the stack using PopModalAsync method of the Navigation property.

await Navigation.PopModalAsync (); //Dismiss the pop up