Application gestures are gestures you can choose to have your application support. Applications that are specifically designed to work with a pen are more likely to use these gestures. For a list containing the shapes of the gestures and their suggested semantic behavior in an application, see Application Gestures and Semantic Behavior.
The Tap and DoubleTap gestures are supported as application gestures and system gestures (system gestures are defined in the SystemGesture enumeration type). This means you can incorporate an application gesture that has a component that may be construed as a Tap or DoubleTap (such as the Exclamation gesture). In this case, enable the Tap application gesture and disable the Tap system gesture in your application. When a user taps, the application gesture is recognized. This allows your application to listen for a single component that can both identify and distinguish a Tap from a Tap within the application gesture.
In addition to the following gestures, Microsoft intends to support many gesture glyphs as part of the Microsoft gesture recognizer. For more information about these unimplemented gesture glyphs, see Unimplemented Glyphs.
For more information about application gestures and system gestures, see Using Gestures.
The default value is NoGesture, which is actually a cutoff line that represents the gesture recognizer's minimum suggested confidence. It does not actually represent a gesture or lack of gesture, just the point at which the gesture recognizer lacks enough confidence in the result accuracy to recommend anything below that point.
For example, assume that a gesture array consists of the following values: Circle, LeftRight, NoGesture, RightLeft, and Triangle. In this case, the gesture recognizer has a great degree of confidence in Circle and less confidence in LeftRight. The recognizer has very low confidence in RightLeft and Triangle because they come after NoGesture in the array order.
The confidence level at which the gesture recognizer returns NoGesture cannot be changed.
If NoGesture is the first element in the array (which means every recognized gesture is below the suggested confidence threshold), then the platform cancels the gesture event by default; otherwise, the platform accepts the gesture by default. To alter the default behavior, capture the InkCollector..::.Gesture, InkOverlay..::.Gesture, InkPicture..::.Gesture, or InkEdit..::.Gesture event. When a gesture is accepted, the stroke is not added to the Microsoft.Ink..::.Ink object. When a gesture is canceled, the stroke is added to the Microsoft.Ink..::.Ink object.