Guest User

Untitled

a guest
Mar 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public async Task OpenModalAsync(Page poPage, bool bNavigationPage = true)
  2. {
  3.  
  4. if (bNavigationPage)
  5. await Application.Current.MainPage.Navigation.PushModalAsync(new NavigationPage(poPage), true);
  6. else
  7. await Application.Current.MainPage.Navigation.PushModalAsync(poPage, true);
  8. }
  9.  
  10. NavigationPage.SetHasBackButton(this, true);
Add Comment
Please, Sign In to add comment