DiagramKeyEventArgs Constructor (KeyEventArgs, DiagramClientView, DiagramItem)
Initializes a new instance of the DiagramKeyEventArgs 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 ( _
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.KeyEventArgs
The KeyEventArgs that will be used to initialize this instance.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView that the DiagramKeyEventArgs originated from.
- targetItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The 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.