ShapeElement::OnDoubleClick Method (DiagramPointEventArgs^)

 

Called when the user double-clicks the shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void OnDoubleClick(
	DiagramPointEventArgs^ e
)

Parameters

e
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramPointEventArgs^

Event argument including mouse position.

Override this method to respond to a double click.

As an alternative, you can add a handler for the DoubleClick event. You can do that without altering the code of the target shape; but you must set a handler separately for each instance.

Return to top
Show: