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

The base behavior for custom touch interaction.

Definition

Namespace:Telerik.Windows.Touch.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class TouchInputBehavior

Inheritance: objectTouchInputBehavior

Constructors

C#
public TouchInputBehavior()

Properties

Marks if the current Touch operation is handled.

C#
public bool Handled { get; set; }

Owner

UIElement

The owner element.

C#
public UIElement Owner { get; set; }

Methods

Executed on tap down.

C#
public virtual void TapDown(Point position, int tapCount)
Parameters:positionPoint

Position relative to the root touchable element.

tapCountint

Tap count.

Executed on tap move.

C#
public virtual void TapMove(Point position)
Parameters:positionPoint

Position relative to the root touchable element.

Executed on tap up.

C#
public virtual void TapUp(Point position)
Parameters:positionPoint

Position relative to the root touchable element.