DiagramKeyEventArgs Constructor (KeyEventArgs, DiagramClientView, DiagramItem)
Initializes a new instance of the DiagramKeyEventArgs 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 ( _
keyEventArgs As KeyEventArgs, _
diagramClientView As DiagramClientView, _
targetItem As DiagramItem _
)
public DiagramKeyEventArgs(
KeyEventArgs keyEventArgs,
DiagramClientView diagramClientView,
DiagramItem targetItem
)
public:
DiagramKeyEventArgs(
KeyEventArgs^ keyEventArgs,
DiagramClientView^ diagramClientView,
DiagramItem^ targetItem
)
new :
keyEventArgs:KeyEventArgs *
diagramClientView:DiagramClientView *
targetItem:DiagramItem -> DiagramKeyEventArgs
public function DiagramKeyEventArgs(
keyEventArgs : KeyEventArgs,
diagramClientView : DiagramClientView,
targetItem : DiagramItem
)
Parameters
keyEventArgs
Type: System.Windows.Forms.KeyEventArgsThe KeyEventArgs that will be used to initialize this instance.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe DiagramClientView that the DiagramKeyEventArgs originated from.
targetItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe target DiagramItem that the key event is intended for.
.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.