Reputation: 26
I am using a home page in a masterdetailpage (as the detail).
The home page should let the user access to the other detail pages without passing through the master page.(when clicking some buttons)
How to do it? I think Navigation.PushAsync() doesn't work.
Upvotes: 0
Views: 38
Reputation: 770
You should be able to access the master page using the MainPage property of your App class. An example to navigate to a specifi Detail Page:
(App.Current.MainPage as MasterDetailPage).Detail = new Page1();
Upvotes: 1