GestureRecognizer Class

GestureRecognizer Class

An object that reacts to events by recognizing gestures and adding gesture data into the input queue.

Definition

Visual Basic .NET NotInheritable Public Class GestureRecognizer
Inherits Object
Implements IDisposable, IStylusAsyncPlugin, IStylusSyncPlugin
C# public sealed class GestureRecognizer : Object,
IDisposable, IStylusAsyncPlugin, IStylusSyncPlugin
Managed C++ public __gc __sealed class GestureRecognizer : public Object,
IDisposable, IStylusAsyncPlugin, IStylusSyncPlugin

Members Table

The following table lists the members exposed by the object.

Fields

Field Description
static (Shared in Visual Basic .NET)GestureRecognitionDataGuid The Guid Leave Site that is used by a CustomStylusData object to indicate that the Data property contains GestureRecognitionData from a GestureRecognizer.

Methods

Method Description
Dispose Releases resources used by the object.
EnableGestures Sets which ApplicationGestures will result in the GestureRecognizer adding GestureRecognitionData into the input queue.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Frees the resources of the current GestureRecognizer object before it is reclaimed by the garbage collector.
GestureRecognizer Initializes a new instance of the GestureRecognizer class.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
IStylusAsyncPlugin.CustomStylusDataAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.Error This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.InAirPackets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.Packets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.RealTimeStylusDisabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.RealTimeStylusEnabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusButtonDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusButtonUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusInRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusOutOfRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.StylusUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.SystemGesture This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.TabletAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusAsyncPlugin.TabletRemoved This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.CustomStylusDataAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.Error This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.InAirPackets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.Packets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.RealTimeStylusDisabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.RealTimeStylusEnabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusButtonDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusButtonUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusInRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusOutOfRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.SystemGesture This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.TabletAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.TabletRemoved This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
Reset Clears the GestureRecognizer of past stroke information.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Properties

Property Description
Enabled Gets or sets a value which indicates whether gesture recognition is enabled.
MaxStrokeCount Sets the maximum number of strokes allowed for gesture recognition.

Inheritance Hierarchy

Object Leave Site

GestureRecognizer

Class Information

Namespace Microsoft.StylusInput
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8