The issue is practically the same as described here: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/542b827a-7c8e-4984-9158-9d8479b2d5b1 but I am not satisfied with the answer accepted there and feel that there must be a better solution…
I am trying to implement a ‘clasic’ context menu on my list view (not via the AppBar but via PopupMenu) and that works fine, however only if I set the list view into the “None” SelectionMode.
The link above correctly explains that the ListViewItem ‘swallows’ the right tapped event if ListView set to other than “None” selection mode. How can I override this behavior, so that the list view items gets selected AND the list view still fires the RightTapped event which I can react on?
I believe I solved the problem by subclassing both ListView and ListViewItem classes.
By this simple approach MyListView_RightTapped handler is called even if SelectionMode is set to ‘Single’, ‘Multiple’ or ‘Extended’. Next question however is whether this small victory leads to a good design of the application UI. I will not try to answer that question here…