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) }
A blog about Xamarin.Forms, .NET MAUI, .NET MAUI Handler, Xamarin.iOS, Xamarin.Android, Custom Renderer, Xamarin Custom Control, Push Notification, Play Video From URI, Data Bindings. Xamarin Calendar
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/...
-
Youtube Video: Packages Required Install sqlite-net-pcl Package in your .Net MAUI Project. Create EmployeeModel with few properties ...
No comments:
Post a Comment