Emma
Emma

Reputation: 545

Is there a way to put a button to open the Flyout in Maui

I am making a mobile and pc application and i want to add a button to open the flyout because i don't like the button on windows in the top corner, same with android where you have to swipe. so i want to know if there is a way to add a button and disable the current way to open it.

thanks

Upvotes: 3

Views: 2669

Answers (1)

Bas H
Bas H

Reputation: 2216

To open the FLyout with Button .

  private void Button_Clicked(object sender, EventArgs e)
{

    Shell.Current.FlyoutIsPresented = true;
}

To hide the Bar , on top of your xaml on the page

Shell.NavBarIsVisible="False"

Upvotes: 8

Related Questions