Search
DiagramItem.OnDoubleClick Method
See Also
 





Invoked when the user double-clicks this item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void OnDoubleClick (
    MouseButton mouseButton,
    PointF mousePosition
)

Visual Basic  Copy Code

Protected Overridable Sub OnDoubleClick( _
    mouseButton As MouseButton, _
    mousePosition As PointF _
)

 Parameters

mouseButton

Specifies the mouse button used to click the item.

mousePosition

Specifies the mouse position.

 Remarks

Implement this method in a custom item class if you need to detect double-clicks without handling events of the Diagram class.

 See Also