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
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public CursorHint ValidateAndSetCursor (
    Point point,
    Diagram diagram
)

Visual Basic  Copy Code

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

 Parameters

point

A Microsoft.Maui.Graphics.Point 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