Search
DiagramItem.AllowCreate Method
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected abstract bool AllowCreate (
    PointF current,
    InteractionState ist
)

Visual Basic  Copy Code

Protected MustOverride Function AllowCreate( _
    current As PointF, _
    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 creation 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