DiagramMouseEventArgs Constructor (MouseEventArgs, DiagramClientView)
Initializes a new instance of the DiagramMouseEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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.MouseEventArgsA MouseEventArgs that will be used to initialize this instance.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe 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.