How to disable the sliding of menu of Action bar in xamarin forms?

一曲冷凌霜 提交于 2020-01-24 19:57:08

问题


I am using MasterDetailPage and using Action Bar in it. I have disabled and hide logo, icon and back button of action bar. But when I try to swipe from left to right from left side a blank menu list opens. I don't know why it is happening. how I can disable this one for action bar. I don't want menu list that's why I disabled back button, icon. How I can disable this sliding menu which is coming from left to right when I am swiping from left to right?


回答1:


On the MasterDetailPage there is a Property called IsGestureEnabled. Setting that to false should stop tracking the swipe gesture.



来源:https://stackoverflow.com/questions/40147080/how-to-disable-the-sliding-of-menu-of-action-bar-in-xamarin-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!