Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Master-Detail Page as a Navigation drawer?

$
0
0

I need a side navigation drawer in the application, the functionality provided by the Master-Detail Page is not compatible with my needs,
I need to have the drawer in the MainPage only and to behave like a NavigationPage: when any item in the master page is clicked, then replacing the hamburger button with a back button that navigate to the previous page.. is it possible with the Xamarin's Master-Detail page?

What I've tried so far:

  • setting
    MainPage = new NavigationPage(new MainPage()); //where MainPage is a MasterDetailPage

then set the NavigationPage.HasNavigationBar of the main page to False.

but I have two initial problems:
1- the title is beneath the back button.
2- when I navigate back, the menu is still opened.

There might be another problems of this workaround, that I'm not aware of at the moment


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>