SwipeControl should support mouse input
The SwipeControl control should support mouse input as well as touch input. Currently it only supports touch input.
I appreciate that swipe controls have come out of developments around touch interfaces. However on a platform that allows for a single app to run on both desktop and touch devices I think that users will be expecting to be able to interact with the app in similar ways across devices.
Microsoft have set precedent for this in their own apps. Outlook for example utilises a SwipeControl type arrangement (that can be interacted with using a mouse) for marking emails as read or unread (among other things). I personally would like to be able to have a similar arrangement in my own apps, but currently am unable to do so.
C Taylor commented
This is yet another example how the UWP platform enforces its UX on developers. WPF is an amazing platform that has no UX enforcements built into its platform.
ContentDialog Flyout limitations are other controls that enforce UX. This is why I always suggest WPF instead of UWP for business application development.
C Taylor commented
I would love to use this control. But I don't want to have to introduce code that has a special case for when my app is running on a non-touch device. This is completely stupid that there is no option to allow the mouse to work with this feature. Instead I will not use this control, which is a shame.
Ianier Munoz commented
+1 for this feature. However, swiping with the mouse doesn't feel natural, so I suggest that right-clicking the SwipeControl show a pop-up menu with the list of commands.
SwipeControl seems kind of broken.
If you use the trackpad of the Surfacebook and scroll vertically through a list, it just randomly activates Swipe on elemets without interaction. It even happens in the XAML Gallery app. Hope the old SlidableListItem will not be replaced soon.
Agree, totally crazy form MS. Consequence is that you also can't test your apps (swipe action) on the desktop anymore (in development). I use the old swipe control from UWPtoolkit but they also want do deprecate this as the new MS swipe control replaces it, but sadly without the desktop swipe functionality.
The proponents of no swipe say, use a context menu, but the context menu takes twice the time and it's way less efficient even on the desktop. Much easier and faster to swipe with the mouse, that click-through menu's