Using a Custom Gesture Recognizer

You can use a custom gesture recognizer independently, or in addition to the GestureRecognizer.

Create your custom gesture recognizer as an IStylusSyncPlugin, have it create CustomStylusData, and include the plug-in in the same StylusSyncPluginCollection as the GestureRecognizer. In the IStylusSyncPlugin, combine gesture notifications from both recognizers into notifications to be consumed by an application.

Related topics

Accessing and Manipulating Stylus Input