共用方式為


MouseAction.OnMouseDown Method

Alerts listeners that the mouse has been clicked.

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

Syntax

'宣告
Protected Overridable Sub OnMouseDown ( _
    e As DiagramMouseEventArgs _
)
protected virtual void OnMouseDown(
    DiagramMouseEventArgs e
)
protected:
virtual void OnMouseDown(
    DiagramMouseEventArgs^ e
)
abstract OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseDown : 
        e:DiagramMouseEventArgs -> unit 
protected function OnMouseDown(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace