Swipeview works on touchscreen display with UWP put you can't open it with a mouse
The swipeview opens to display whatever is underneath
Nothing happens. The swipeview doesn't detect the mouse as a swipe
Is this how it's supposed to work? Can we add UWP mouse support?
SwipeView in UWP makes use of the SwipeControl control available in WinUI https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.swipecontrol
The behavior you describe is the expected and there are requests to make it compatible with mouse: https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/1828
I will check SwipeControl to see if we can do something to make it compatible with mouse.
I've changed this over to an enhancement. We're using the native WinUI SwipeControl and that control only works with touch gestures not the mouse so we would need to extend it.
Any news on this? I'm trying to programatically open the swipe view in UWP, and it just doesn't work, no matter what I try.
maybe we can use slidecontrol instead of swipe control like in the other issue mentioned. it is just deprecated but not removed.
Is that actually working on a windows 10 touch based devices like surfaces? anyone tested it? Using simulator it doesn't seem to be working although i used the touch mode
Most helpful comment
I've changed this over to an enhancement. We're using the native WinUI SwipeControl and that control only works with touch gestures not the mouse so we would need to extend it.