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

Provides data for touch related events.

Definition

Namespace:Telerik.Windows.Input.Touch

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class TouchEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsTouchEventArgs

Derived Classes: SwipeEventArgsTapEventArgs

Properties

TouchDevice

TouchDevice

Gets the touch device associated with the current event.

C#
public TouchDevice TouchDevice { get; }

Methods

Gets the touch point associated with the current event.

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

TouchPoint

Disables automatic mouse-event promotion for the primary touch point until all touch points report as . Promotion can be disabled only for the primary touch point while reporting .

C#
public void SuspendMousePromotionUntilTouchUp()