GestureRecognizer.GetEnabledGestures Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the gestures that the GestureRecognizer recognizes.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

public ReadOnlyCollection<ApplicationGesture> GetEnabledGestures()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ApplicationGesture>

An array of type ApplicationGesture that contains gestures the GestureRecognizer is set to recognize.

The following example demonstrates how to get the application gestures that a GestureRecognizer recognizes.

ReadOnlyCollection<ApplicationGesture> enableGestures = recognizer.GetEnabledGestures();

.NET Framework
Available since 3.0
Return to top
Show: