Share via


CursorButtonState Enumeration

Defines values that specify the state of a cursor button.

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

Syntax

'Declaration
Public Enumeration CursorButtonState
'Usage
Dim instance As CursorButtonState
public enum CursorButtonState
public enum class CursorButtonState
public enum CursorButtonState

Members

Member 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 when the mouse button is up.

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Ink Namespace

CursorButton.State

InkCollectorCursorInRangeEventArgs

InkCollectorCursorInRangeEventArgs.ButtonStates