Compartir a través de


CursorButtonState Enumeration

CursorButtonState Enumeration

Defines values that specify the state of a cursor button.

Definition

Visual Basic .NET Public Enum CursorButtonState
C# public enum CursorButtonState
Managed C++ __value public enum CursorButtonState

Constants

Constant Name Description
Unavailable Shows that the cursor button is unavailable. A cursor button may become unavailable, for example, when a cursor leaves the range of the Tablet PC.
Up Shows that the cursor button is up. A button on a pen tip is up when the pen is not pressed against the digitizer. A button on a pen barrel is up when the button is not depressed.
Down Shows that the cursor button is down. A button on a pen tip is down when the user lowers the pen to the digitizer and draws a stroke. For a button on a barrel, the button is down when the button is depressed.

Remarks

The State property for a button on the mouse is always Unavailable when the mouse button is up.

Enumeration Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also