Search
DiagramItem.AllowModify Method
See Also
 





Invoked during interactive modification of items to test whether the operation can be completed in the current context.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected abstract bool AllowModify (
    Point current,
    InteractionState ist
)

Visual Basic  Copy Code

Protected MustOverride Function AllowModify( _
    current As Point, _
    ist As InteractionState _
) As Boolean

 Parameters

current
The current mouse pointer position.
ist

An InteractionState object containing more information about the current state of the operation.

 Return Value

true to allow the modification of this item; otherwise, false.

 Remarks

This method is invoked after each mouse movement in order to update the mouse pointer icon, so do not perform any time-consuming operations in its implementation.

 See Also