Represents general information about a button on a tablet pointing and selecting device.
Visual Basic .NET Public Class CursorButton
C# public class CursorButton : Object Managed C++ public __gc class CursorButton : public Object
The following table lists the members exposed by the object.
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 . 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 CursorButton object.
A Cursor can contain zero to 32 associated buttons, and each button is provided to an application as a CursorButton object. Examples of cursor buttons are:
A single pen cursor with no barrel may consist of two cursor buttons: the writing end and the inverted end. Each button can have a specific function, and an application must know which button, by identifier, is being used before it can accept input from the cursor. For example, an application must know the identifier of the inverted end of the pen before strokes can be erased.
- The writing end of a pen
- The inverted (or "eraser") end of a pen
- The barrel of a pen
- The button on a pen
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8