MenuItem under context action in xamarin.forms listview

ساخت وبلاگ

Vote count: 0

I am facing some issue in xamarin.forms(in IOS) while using menuitem under context action in xamarin.forms listview. When i swipe the swipe menuitem works fine. But i do not want this menu item come under context action if some condition is met. Scenario-Suppose in xamarin listview i have selected row with value two then menuitem should come when i do swip. This is working fine. When i click on the menuitem it deletes the selected item and reset the listitem to value(zero) in this case i do not want the menu item to come with this when i do swip. Now if i again select any other value in listview then menu item should come when i do swip.So it kind of visibility change but there is no property in context action/menuitem. Note i am using MVVM Patte. Please try to provide solution in that way. Thanks In Advance.

asked 2 mins ago

- - , .

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 336 تاريخ : جمعه 30 بهمن 1394 ساعت: 2:37