There is a ListView cell class. Inside at initialization we add
MenuItem myMenuItem _deleteSwipeButton = new MenuItem { IsDestructive = true, }; ContextActions.Add(myMenuItem);
Next on the page where the ListView is located, some actions take place. And at some point for certain cells, you need to hide the MenuItem . Those. there is a condition some bool 'evske by which you can define to hide (or delete, in this case without a difference) the MenuItem or leave it at the cell. Standard Binding 'and I did not find.
MenuItem does not have an IsVisibleProperty property.
Perhaps someone has already encountered this and can suggest how you can hide the MenuItem element by condition? Thanks for the help.