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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
Details of the mouse position and other key states.
.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