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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
The arguments for a mouse event that occurs over the diagram.
.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.