How to pinch in WPF

I am trying to control multi-touch. So, I am trying to separate touch behavior. Suppose a person wants to enlarge their photo, they need to pinch to enlarge it. However, two fingers that have two points of contact, so that the distance will not increase, as shown in the figure below: enter image description here

How can I separate this. Is there any function for this?

Regards, C.Porawat

+3
source share
1 answer

Is it about distinguishing one-handed or two-handed scaling manipulation, or about imposing certain minimum / maximum scaling factors for managed objects?

(). , , . , .

, , . ManipulationDelta, (, , / ) DeltaManipulation.Scale, ( , , , ?), / .

, , - UIElement , .

0
source

Source: https://habr.com/ru/post/1789476/


All Articles