Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > InteractiveService Class : PinchStarted Event |
public event EventHandler<InteractivePinchStartedEventArgs> PinchStarted
'Declaration
Public Event PinchStarted As EventHandler(Of InteractivePinchStartedEventArgs)
The event handler receives an argument of type InteractivePinchStartedEventArgs containing data related to this event. The following InteractivePinchStartedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Angle | Angle between the original and current positions. |
Distance | Distance between the original and current positions. |
IsHandled (Inherited from Leadtools.Controls.InteractiveEventArgs) | Indicates whether this event is handled. |
MouseButton (Inherited from Leadtools.Controls.InteractiveEventArgs) | Mouse button that triggered this event. |
NativeEvent (Inherited from Leadtools.Controls.InteractiveEventArgs) | Native event associated with this event. |
Origin (Inherited from Leadtools.Controls.InteractiveEventArgs) | Original mouse or touch position. |
Origin2 (Inherited from Leadtools.Controls.InteractiveMultiTouchEventArgs) | Position of the origin for the second touch. |
Position (Inherited from Leadtools.Controls.InteractiveEventArgs) | Current mouse or touch position. |
Position2 (Inherited from Leadtools.Controls.InteractiveMultiTouchEventArgs) | Current position of the second touch. |
Pinch events are only supported by touch devices.
The PinchStarted event will fire when any of the following occurs:
On a device that supports touch and PinchStartsOnDown is set to true: When the user presses two finger down on EventsTarget.
On a device that supports touch and PinchStartsOnDown is set to false: When the user presses two finger down and then moves on EventsTarget.