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

 Syntax

C#  Copy Code

protected abstract bool AllowCreate (
    Point current,
    InteractionState ist
)

Visual Basic  Copy Code

Protected MustOverride Function AllowCreate( _
    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 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