StylusButtons Class
StylusButtons Class |
Provides access to the stylus buttons of a stylus.
Definition
Visual Basic .NET NotInheritable Public Class StylusButtons
Inherits ObjectC# public sealed class StylusButtons : Object Managed C++ public __gc __sealed class StylusButtons : public Object
Members Table
The following table lists the members exposed by the object.
Methods
Method Description Equals Determines whether two Object instances are equal. Inherited from Object . Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Inherited from Object . 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 . GetID Gets the globally unique identifier (GUID) of the button at the given index. GetName Gets the name of the button at the given index. GetType Gets the Type of the current instance. Inherited from Object . 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 . ToString Returns a String that represents the current Object . Inherited from Object . Properties
Property Description Count Gets the number of buttons on the stylus.
Inheritance Hierarchy
StylusButtons
Remarks
This object allows a developer to query the button states for the buttons on a given stylus. An example of a stylus button is the barrel button.
Class Information
Namespace Microsoft.StylusInput Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8
See Also