Interface
IGestureRecognizerFactory

A factory that creates gesture recognizers for UI elements.

Definition

Namespace:Telerik.Windows.Input.Touch

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public interface IGestureRecognizerFactory

Properties

Priority

Gets the priority of the recognizers. A recognizer with a higher priority will receive the basic touch events (such as TouchEnter, TouchDown, etc.) before a recognizer with a lower priority.

Declaration

cs-api-definition
int Priority { get; }

Property Value

int

Methods

CreateGestureRecognizer(UIElement)

Creates a recognizer dedicated to the UI element.

Declaration

cs-api-definition
GestureRecognizerBase CreateGestureRecognizer(UIElement element)

Parameters

element

UIElement

Returns

GestureRecognizerBase

RegisterGestureTransitions()

When invoked, the factory should register the allowed gesture transitions. Use the RegisterGestureTransitions method of the GestureManager.

Declaration

cs-api-definition
void RegisterGestureTransitions()