InkCollectorCursorInRangeEventArgs.ButtonStates Property
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.
Definition
Visual Basic .NET Public ReadOnly Property ButtonStates As CursorButtonState() C# public CursorButtonState[] ButtonStates { get; } Managed C++ public: __property CursorButtonState* get_ButtonStates();
Property Value
Microsoft.Ink.CursorButtonState[]. The state of the buttons for the cursor that generated the CursorInRange event.
This property is read-only. This property has no default value.
Unavailable0
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. Up1
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. Down2
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 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.
See Also