Search
BehaviorBase.SetModfCursor Method
See Also
 






Updates the current cursor according to the specified cursor position and diagram state.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected CoreCursor SetModfCursor (
    Point pt,
    int handle,
    bool active,
    bool autoh
)

Visual Basic  Copy Code

Protected Function SetModfCursor( _
    pt As Point, _
    handle As Integer, _
    active As Boolean, _
    autoh As Boolean _
) As CoreCursor

 Parameters

pt

A Point structure that specifies the current mouse position.

handle

The index of the adjustment handle, at which the mouse points.

active

Specifies whether the mouse is over the ActiveItem.

autoh

true when the mouse is over a DiagramItem and the ModificationStart property of the DiagramView is set to AutoHandles.

 Return Value

A CoreCursor instance.

 Remarks

SetMouseCursor overrides can call this method to get the default cursor shown for move or resize operations

 See Also