• +91 9723535972
  • info@interviewmaterial.com

Xamarin Interview Questions and Answers

Question - What is the difference between Modal pages and Modeless pages?

Answer -

Modal Page: We’ll use modal pages when your application needs some information from the user and you don’t want the user to return to the previous page until that information is provided. Below C# code is used to navigate to specific page name is DetailPage.

async void ModelPageNavigation ()
{
await Navigation.PushModalAsync (new DetailPage ()); //Navigate to Details Page
}
Modeless Page: The difference between modal and modeless pages mostly involves the user interface that the operating system provides Back button on the page to return back to the previous page.

async void ModelessPageNavigation ()
{
await Navigation.PushAsync (new DetailPage ()); //Navigate to Details Page, will create Back button navigation page
}

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners