Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Toggle AppShell on button click in Xamarin.forms

I have AppShell that I pull from the side to show but I want to achieve this on button click to toggle AppShell. I am not using the default AppShell navbar so I disabled the Shell.NavBarIsVisible="False" since its not needed.

I want to achieve this with the custom button to toggle AppShell.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can open it with this , true to open or false to close

  private void Bottommenu3_Clicked(object sender, EventArgs e)
    
        Shell.Current.FlyoutIsPresented = true;
    }
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading