GestureManager
A utility class that exposes methods that enable gesture management.
Definition
Namespace:Telerik.Windows.Input.Touch
Assembly:Telerik.Windows.Controls.dll
Syntax:
public static class GestureManager
Inheritance: objectGestureManager
Methods
Activates the gesture for this element. If there is an active gesture, it is first forcibly deactivated.
Gets a value indicating whether the candidate gesture can be activated. The gesture cannot be activated if there is already an active gesture and the transition is not allowed.
Deregisters a gesture recognizer factory.
public static void DeregisterGestureRecognizerFactory(IGestureRecognizerFactory gestureFactory)
Gets the name pf the active gesture for this element.
public static string GetActiveGesture(UIElement element)
Gets the gesture recognizer for this element.
public static T GetOrCreateGestureRecognizer<T>(UIElement element) where T : GestureRecognizerBase
T
Gets the registered gesture recognizer factories.
public static IList<IGestureRecognizerFactory> GetRegisteredGestureRecognizerFactories()
Gets the allowed gesture transitions for this gesture.
public static IEnumerable<string> GetRegisteredGestureTransitions(string gestureName)
Registers a gesture recognizer factory.
public static void RegisterGestureRecognizerFactory(IGestureRecognizerFactory gestureFactory)
Registers the allowed transitions for this gesture.
public static void RegisterGestureTransitions(string gestureName, IEnumerable<string> transitions)