DoubleTap event from Silverlight to WPF

I am creating a .NET .NET WPF application with elements that the user can drag and drop and execute.

In conflicts between them, as the tap and slide included two TouchDown Events

. I have a workaround, but it feels hacky (changed it to look for TouchUp Event

) for Double click .

I really need to DoubleTap Event

.

I found Silverlight UIElement.DoubleTap Event .

However, it looks like this event doesn't exist for WPF, unless I just can't see anything.

Is there any alternative to WPF? Does anyone know why they would provide this event in Silverlight UIElement

but not WPF UIElement

?

Thank,

Philip

+3


source to share


1 answer


As far as I know wpf doesn't have an explicit double touch event. But you can use a single tap event (define it as SystemGesture.Tap ) and check if it happened twice in a row.



+1


source







All Articles