Share via


InkCollectorCursorInRangeEventArgs Constructor

Initializes a new instance of the InkCollectorCursorInRangeEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    cursor As Cursor, _
    newCursor As Boolean, _
    buttonStates As CursorButtonState() _
)
'Usage
Dim cursor As Cursor 
Dim newCursor As Boolean 
Dim buttonStates As CursorButtonState()

Dim instance As New InkCollectorCursorInRangeEventArgs(cursor, _
    newCursor, buttonStates)
public InkCollectorCursorInRangeEventArgs(
    Cursor cursor,
    bool newCursor,
    CursorButtonState[] buttonStates
)
public:
InkCollectorCursorInRangeEventArgs(
    Cursor^ cursor, 
    bool newCursor, 
    array<CursorButtonState>^ buttonStates
)
public function InkCollectorCursorInRangeEventArgs(
    cursor : Cursor, 
    newCursor : boolean, 
    buttonStates : CursorButtonState[]
)

Parameters

Remarks

cursor of type Cursor is the cursor used to collect the stroke. newCursor of type Boolean specifies if this is the first time this InkCollector has seen this cursor. buttonStates of type CursorButtonState specifies the state of the cursor's buttons.

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