Share via


InkCollectorCursorInRangeEventArgs.ButtonStates Property

Gets an array of values from the CursorButtonState enumeration describing the state of the buttons for the cursor that generated the CursorInRange event.

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

Syntax

'Declaration
Public ReadOnly Property ButtonStates As CursorButtonState()
'Usage
Dim instance As InkCollectorCursorInRangeEventArgs 
Dim value As CursorButtonState()

value = instance.ButtonStates
public CursorButtonState[] ButtonStates { get; }
public:
property array<CursorButtonState>^ ButtonStates {
    array<CursorButtonState>^ get ();
}
public function get ButtonStates () : CursorButtonState[]

Property Value

Type: array<Microsoft.Ink.CursorButtonState[]
The state of the buttons for the cursor that generated the CursorInRange event.

Remarks

The CursorInRange event fires when a cursor enters the physical detection range (proximity) of the tablet context.

Use the cursor Buttons collection to retrieve more information about the cursors.

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

InkCollectorCursorInRangeEventArgs Class

InkCollectorCursorInRangeEventArgs Members

Microsoft.Ink Namespace

InkCollector.CursorInRange