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

Serves to attach a custom Touch Behavior to a certain control.

Definition

Namespace:Telerik.Windows.Touch.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class TouchInteraction

Inheritance: objectTouchInteraction

Fields

BehaviorProperty

DependencyProperty

Identifies the Behavior instance.

C#
public static readonly DependencyProperty BehaviorProperty

Methods

Gets the behavior.

C#
public static TouchInputBehavior GetBehavior(DependencyObject obj)
Parameters:objDependencyObject

The visual element.

Returns:

TouchInputBehavior

Sets the behavior.

C#
public static void SetBehavior(DependencyObject obj, TouchInputBehavior value)
Parameters:objDependencyObject

The visual element.

valueTouchInputBehavior

The value.