WPF ListView with better touch support

I’ve the need to use a listview in a WPF project based on touch monitor, and the user needs to scroll element of listview horizontally and vertically, and each element should be a UserControl with a complex ui interface.

I started with a couple of articles, this one that shows a custom ListView based on the original ListView, and that one that shows an iPhone like ListView with kinetic movement. None of them satisfy my needs, but I used them as starting point to create my user control that permits me to satisfy the user need.

I implemented some nice features, if you drag partially a control, when you release the mouse the list use a smooth animation to always make the first element fully visible, if a button is in the template of the listview, you can click, but if you drag the element clicking on the button no click is raised.

If you like it, I’ll make it available on codeplex, let me know.


Published by

Ricci Gian Maria

.Net programmer, User group and community enthusiast, programmer - aspiring architect - and guitar player :). Visual Studio ALM MVP

4 thoughts on “WPF ListView with better touch support”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.