Called when the user double-clicks the shape.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable Sub OnDoubleClick ( _
    e As DiagramPointEventArgs _
)
public virtual void OnDoubleClick(
    DiagramPointEventArgs e
)
public:
virtual void OnDoubleClick(
    DiagramPointEventArgs^ e
)
abstract OnDoubleClick : 
        e:DiagramPointEventArgs -> unit 
override OnDoubleClick : 
        e:DiagramPointEventArgs -> unit 
public function OnDoubleClick(
    e : DiagramPointEventArgs
)
Parameters
- e
 Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
 Event argument including mouse position.
Remarks
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.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace