Search
DiagramBase.Clicked Event
See Also
 





Raised when the user clicks the diagram at a point where no items are located.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public event EventHandler<DiagramEventArgs> Clicked

Visual Basic  Copy Code

Public Event Clicked As EventHandler(Of DiagramEventArgs)

 Event Data

Clicked event handlers receive an argument of type DiagramEventArgs. The following DiagramEventArgs members provide information relevant to the event:

Member name

Description

MouseButton

The mouse button that has been pressed by the user.

MousePosition

A PointF specifying the mouse cursor position.

 Remarks

This event is raised only if the user clicks an unoccupied point of the diagram. If the user clicks a diagram item, one of the following events is raised: NodeClicked, CellClicked or LinkClicked.

 See Also