GestureRecognizer::SetEnabledGestures Method (IEnumerable<ApplicationGesture>^)
.NET Framework (current version)
Sets the application gestures that the GestureRecognizer recognizes.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- applicationGestures
-
Type:
System.Collections.Generic::IEnumerable<ApplicationGesture>^
An array of type ApplicationGesture that specifies the application gestures you wish the GestureRecognizer to recognize.
The following example demonstrates how to create a GestureRecognizer that recognizes only the Down, Right, and ScratchOut gestures.
.NET Framework
Available since 3.0
Available since 3.0
Show: