I want a ListView to behave like this:
With mouse Input:
- Left Click -> Item click event handler gets executed, but should not display it as "selected"
- Right Click -> Item gets selected
With touch Input:
- Single Tap -> equivalent to left click
- Swipe Down -> equivalent to right click
I have played around with various of the events and settings but cant seem to get it to work right.
This could help you with the mouseclicks
and for the handle of the touch i hope this helps
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465387.aspx
In other words, you want your listview to behave like the Windows Start screen? This one was brutal for me to figure out - the mouse part was easy, but the touch part not so much. The solution turns out to be pretty easy. You just have to enable the right options for your listview. Here's the xaml for mine:
Sorry, I haven't figured how to get code to highlight in StackOverflow yet.