Double Tap event

Thread is closed for posting
2 posts, 0 answers
  1. Holger
    Holger avatar
    1 posts
    Member since:
    Apr 2013

    Posted 21 Oct 2013 Link to this post

    The double tap event does not fire, even less can be overridden. Not in PanAndZoomImage, nor in RadSlideView. There is just the default zoom in/out behaviour. I need to add more code to distinguish Tap/Double Tap (currently Tap is always fired when you double tap - which is a big problem in my application)
    Latest Q3-2013 controls.

    Help is urgently needed! Thanks.
  2. Todor
    Todor avatar
    798 posts

    Posted 21 Oct 2013 Link to this post

    Hello Holger,

    Thank you for contacting us.

    The reason for this behavior is that PanAndZoomImage handles the DoubleTap event and marks it as handled. You can inherit from this control and override OnDoubleTap in order to execute the custom actions that you need. Here's an example:
    public class CustomPanAndZoomImage : PanAndZoomImage
        protected override void OnDoubleTap(System.Windows.Input.GestureEventArgs e)
            // Execute your custom action.
    Then simply make sure that you have added your custom control to RadSlideView's ItemTemplate instead of PanAndZoomImage.

    I hope this information helps.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top