Freigeben über


CursorButton Class

Represents general information about a button on a tablet pointing and selecting device.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Class CursorButton
'Usage
Dim instance As CursorButton
public class CursorButton
public ref class CursorButton
public class CursorButton
public class CursorButton
Not applicable.

Remarks

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:

  • The writing end of a pen

  • The inverted (or "eraser") end of a pen

  • The barrel of a pen

  • The button on a pen

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.

Inheritance Hierarchy

System.Object
  Microsoft.Ink.CursorButton

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

CursorButton Members
Microsoft.Ink Namespace
Cursor.Buttons
CursorButtons