New to Telerik UI for WPFStart a free 30-day trial

Pinch gesture event arguments.

Definition

Namespace:Telerik.Windows.Input.Touch

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class PinchEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsPinchEventArgs

Properties

A value indicating the ratio between the current distance and start distance between the two touch points.

C#
public double Factor { get; }

Methods

Gets the first touch point.

C#
public TouchPoint GetTouchPoint1(IInputElement relativeTo)
Parameters:relativeToIInputElementReturns:

TouchPoint

Gets the second touch point.

C#
public TouchPoint GetTouchPoint2(IInputElement relativeTo)
Parameters:relativeToIInputElementReturns:

TouchPoint