Export (0) Print
Expand All

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)

[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class CursorButton

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.

System.Object
  Microsoft.Ink.CursorButton

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

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft