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

Side drawer menu for Tablet view

$
0
0

Hi,

I developing mobile application using Xamarin.Form. For dashboard page I used MasterDetailPage, here I assigned MenuPage to Master & Contect page to Detail , below is the code.

class MasterPage : MasterDetailPage
    {
        public MasterPage()
        {
            Master = new Menu();

            Detail = new NavigationPage(new DashBoard()) {
                BarBackgroundColor = Color.FromHex("#1ab394"),
                BarTextColor = Color.White
            };
        }
    }

Please check below are the output,
Android Output

Windows Output tablet

You can see the difference, here in android portrait view here we can hide/show side drawer menu by clicking on 3Bar button, but in windows/all tablet view the menu part always visible instead of **3Bar ** Button.

How can we make customization for tablet view where menu page visible unless we click on 3Bar button.

Please let me know.

Thanks in advance!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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