Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Receive event when context menu appears?

$
0
0

It is easy to show a context menu after a long press on an item in a ListView.

However, imagine a scenario where we have items A, B, C and D in our ListView and item C happens to be the selected item. The item has a highlight colour.

If we long press on, say, item A, the context menu appears, but item C is still highlighted in the ListView.

Has anybody managed to resolve this anomaly?

I would like to have an event that is fired when the context menu appears. That way, I could manually select the item that was long pressed. It would appear clean to the user.

Thank you for any suggestions or ideas on this issue.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>