MindFusion.Wpf Pack Programmer's Guide
BehaviorBase.StartDrawCommon Method
See Also
 





Invoked by the control when the user presses the left mouse button.

Namespace: MindFusion.Diagramming.Wpf.Behaviors
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

protected virtual InteractionState StartDrawCommon (
    Point point,
    MouseButton button
)

Visual Basic  Copy Code

Protected Overridable Function StartDrawCommon( _
    point As Point, _
    button As MouseButton _
) As InteractionState

 Parameters

point

A Point structure, which specifies the current position of the mouse cursor, in document coordinates.

button

A member of the MouseButton enumeration.

 Return Value

An instance of the InteractionState class, which specifies whether dragging the mouse should create or modify an item.

 Remarks

This method is invoked first and it relies on the public StartDraw method implemented by derived behavior classes.

 See Also

BehaviorBase Members
BehaviorBase Class
MindFusion.Diagramming.Wpf.Behaviors Namespace