public App() { InitializeComponent(); var parentPage = new MasterDetailView(); // name of the master detail page parentPage.IsPresented = false; var tabbedPage = new MasterDetailTabbedPage(); // name of the tabbed page tabbedPage.CurrentPage = tabbedPage.Children[2]; // specify the index of the tab parentPage.Detail = new NavigationPage(tabbedPage); // assign the tabbed page to master detail page MainPage = parentPage; // navigate to master detail page (3rd tab selected) }
Learn .NET MAUI with step-by-step C# tutorials and ready-to-use code samples MVVM, SQLite, REST APIs, navigation, notifications and more for cross-platform apps.
Friday, 1 June 2018
Navigate to specific tab inside master detail page in Xamarin
Subscribe to:
Post Comments (Atom)
Popular Posts
-
<Label Text = "{Binding Date,StringFormat='{0:MM/dd/yy}'}" /> Output: 05/25/2019 Date Formats: DateTime....
-
RatingBar Control- is a cross-platform plugin used for selecting the rating. How To Use Available on NuGet: https://www.nuget.org/...
-
Creation Of Certificates & Profiles Certificate Create Development Certificate In Your Apple Developer Account. Once Certificated Creat...
No comments:
Post a Comment