ShapeElement.OnDoubleClick Method
Called when the user double-clicks the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.