Reputation:
I want to enable and disable the bars and gesture of the master detail page (basically the whole menu) so that the user can't navigate when opening a certain page. I tried using a modal page to achieve this but I really need the toolbar menu of the navigation page.
How can I achieve that?
Upvotes: 1
Views: 439
Reputation: 14956
Setting the IsGestureEnabled property of the MasterDetailPage to true in the OnAppearing event and false in the OnDisappearing event of each DetailPage, seems giving the expected results.
if IsGestureEnabled = false;
Property is working in Android. But not in iOS.you could use CustomRenderer ,you could refer to the workaround
Upvotes: 0