Search
InteractionState.ValidateAndSetCursor Method
See Also
 





Sets the cursor depending on whether the interaction can be completed at the specified point or not.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public CursorHint ValidateAndSetCursor (
    PointF point,
    Diagram diagram
)

Visual Basic  Copy Code

Public Function ValidateAndSetCursor( _
    point As PointF, _
    diagram As Diagram _
) As CursorHint

 Parameters

point

A .NET PointF instance indicating the location of the cursor, in document coordinates.

diagram

The Diagram, at which the interaction is performed.

 Return Value

One of the CursorHint enumeration values, which is used by DiagramView to set its Cursor property. The method might return CursorHint.DontChange and the cursor will be left as it is.

 See Also