Microsoft-ui-xaml: Question: Possible to know when a user started swiping a SwipeControl?

Created on 12 May 2020  路  2Comments  路  Source: microsoft/microsoft-ui-xaml

Hello,

In a list item, I have a couple of UI elements I want to hide once the user starts to swipe. Is there an event I can listen to that tells me this? I've tried reacting to the ManipulationStarting etc, but that doesn't seem to do anything.

Any help is appreciated here. Thanks!

area-SwipeControl question team-Controls

Most helpful comment

If you set ManipulationMode you can enable the ManipulationStarting Event. This should be what you're after.

            ManipulationMode="All"
            ManipulationStarting="SwipeControl_ManipulationStarting"

All 2 comments

If you set ManipulationMode you can enable the ManipulationStarting Event. This should be what you're after.

            ManipulationMode="All"
            ManipulationStarting="SwipeControl_ManipulationStarting"

@mrlacey This solved it for me! Thank you!

Was this page helpful?
0 / 5 - 0 ratings