DLToolkit.Forms.Controls icon indicating copy to clipboard operation
DLToolkit.Forms.Controls copied to clipboard

OnPanUpdated and OnPinchUpdated not call

Open PierreLucB opened this issue 6 years ago • 0 comments

I'm having an issue when trying to make pan update and pinch update working.

When I'm trying to add a pinch gesture recognizer in Xaml I have the following error : "Only one PinchGestureRecognizer per view is allowed".

When I'm trying to subscribe to the pinch gesture in code behind, the pinch update method is never called :

PinchGestureRecognizer a = this.cropView.GestureRecognizers.First(g => g as PinchGestureRecognizer != null) as PinchGestureRecognizer; a.PinchUpdated += OnPinchUpdated;

void OnPinchUpdated(object sender, PinchGestureUpdatedEventArgs e) {
}

I have the same issue with the pan gesture recognizer.

Thank you for your answer.

PierreLucB avatar Jan 15 '19 07:01 PierreLucB