Compartir a través de


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 ();
}
/** @property */
public CursorButtonState[] get_ButtonStates ()
public function get ButtonStates () : CursorButtonState[]
Not applicable.

Property Value

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 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

InkCollectorCursorInRangeEventArgs Class
InkCollectorCursorInRangeEventArgs Members
Microsoft.Ink Namespace
InkCollector.CursorInRange