VSDiagramView.OnMouseDown Method
Passes an event argument when the user presses the mouse button.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Protected Overrides Sub OnMouseDown ( _
e As MouseEventArgs _
)
protected override void OnMouseDown(
MouseEventArgs e
)
protected:
virtual void OnMouseDown(
MouseEventArgs^ e
) override
abstract OnMouseDown :
e:MouseEventArgs -> unit
override OnMouseDown :
e:MouseEventArgs -> unit
protected override function OnMouseDown(
e : MouseEventArgs
)
Parameters
- e
Type: System.Windows.Forms.MouseEventArgs
The event argument.
.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.