GestureRecognizer Constructor (IEnumerable<ApplicationGesture>^)
.NET Framework (current version)
Initializes a new instance of the GestureRecognizer class.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- enabledApplicationGestures
-
Type:
System.Collections.Generic::IEnumerable<ApplicationGesture>^
An array of type ApplicationGesture that specifies the application gestures the GestureRecognizer will recognize.
Use the GestureRecognizer constructor to create a GestureRecognizer that recognizes a subset of the application gestures.
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: