DiagramMouseEventArgs Constructor (MouseEventArgs, DiagramClientView)
Initializes a new instance of the DiagramMouseEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
mouseEventArgs As MouseEventArgs, _
diagramClientView As DiagramClientView _
)
public DiagramMouseEventArgs(
MouseEventArgs mouseEventArgs,
DiagramClientView diagramClientView
)
public:
DiagramMouseEventArgs(
MouseEventArgs^ mouseEventArgs,
DiagramClientView^ diagramClientView
)
new :
mouseEventArgs:MouseEventArgs *
diagramClientView:DiagramClientView -> DiagramMouseEventArgs
public function DiagramMouseEventArgs(
mouseEventArgs : MouseEventArgs,
diagramClientView : DiagramClientView
)
Parameters
- mouseEventArgs
Type: System.Windows.Forms.MouseEventArgs
A MouseEventArgs that will be used to initialize this instance.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView that the DiagramMouseEventArgs originated from.
.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.