Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 76418

Hamburger icon in MasterDetailPage

$
0
0

Hi, so I have a master detail page and I want to change the default icon and the back arrow in the left with a hamburguer icon.
How can a I accomplish this?

My page is:

   public class RootPage : MasterDetailPage
    {
        public RootPage()
        {
            Icon = (FileImageSource)ImageSource.FromFile("MenuIcon.png");

            var drawer = new DrawerPage();
            drawer.customList2.ItemSelected += (sender, e) => NavigateTo(e.SelectedItem as itemDrawer);

            Master = drawer;
            Detail = new NavigationPage(new MenuPage());
        }
.
.
.

Already checked this with no luck:
http://stackoverflow.com/questions/31569947/how-to-implement-hamburger-icon-in-xamarin-forms-masterdetailpage
http://stackoverflow.com/questions/29684588/xamarin-get-menu-item-for-masterdetailpage
http://forums.xamarin.com/discussion/17218/navigation-drawer-hamburger-button
https://forums.xamarin.com/discussion/32344/add-a-hamburger-icon


Viewing all articles
Browse latest Browse all 76418

Trending Articles



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