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, IStylusSyncPluginC# public sealed class GestureRecognizer : Object,
IDisposable, IStylusAsyncPlugin, IStylusSyncPluginManaged 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 GestureRecognitionDataGuid The Guid 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 Determines whether two Object instances are equal. Inherited from Object . 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 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 . GetType Gets the Type of the current instance. Inherited from Object . 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 Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . Reset Clears the GestureRecognizer of past stroke information. ToString Returns a String that represents the current Object . Inherited from Object . 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
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