Partager via


ShapeField.OnMouseDown Method

Alerts listeners when the user is holding down the mouse over a shape field.

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

Syntax

'Déclaration
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

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace