다음을 통해 공유


ShapeElement.OnMouseDown Method

Called when the user presses a mouse key.

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 OnMouseDown ( _
    e As DiagramMouseEventArgs _
)
public virtual void OnMouseDown(
    DiagramMouseEventArgs e
)
public:
virtual void OnMouseDown(
    DiagramMouseEventArgs^ e
)
abstract OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
public function OnMouseDown(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Other Resources

How to: Add a Drag-and-Drop Handler