XF - Call new NavigationPage from Masterdetail Page

AbhiNilAbhiNil CAMember ✭✭✭

Hey guys ,

I'm having a small issue with my pages . I have a Master-detail page with the menu icon in the toolbar .

From that page - i want to go to a new page (NavigationPage without menu , only back button)

This is how i call it :

var testPage = new NavigationPage(new TestPage());
    Navigation.PushAsync(testPage);

However , when the new page shows up , there are 2 toolbars on top of another .

The first one has only the back button , no title.

The second one had the menu icon and page title .

I'm unsure why the menu is showing up on that page since the TestPage is only a content page. Any idea how to fix this ?

Best Answer

Answers

  • AbhiNilAbhiNil CAMember ✭✭✭

    @JohannesHerter - Thanks , it worked .

    The Menu is still present tho . When i slide across the screen - it shows up . Any way to disable it ?

  • JohannesHerterJohannesHerter USMember ✭✭

    @AbhiNil MasterDetailPage has a property called IsGestureEnabled. I never tried this but you could give it a shot.

Sign In or Register to comment.