DiagramKeyPressEventArgs Constructor (KeyPressEventArgs, DiagramClientView, DiagramItem)
Initializes a new instance of the DiagramKeyPressEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
keyPressEventArgs As KeyPressEventArgs, _
diagramClientView As DiagramClientView, _
targetItem As DiagramItem _
)
public DiagramKeyPressEventArgs(
KeyPressEventArgs keyPressEventArgs,
DiagramClientView diagramClientView,
DiagramItem targetItem
)
public:
DiagramKeyPressEventArgs(
KeyPressEventArgs^ keyPressEventArgs,
DiagramClientView^ diagramClientView,
DiagramItem^ targetItem
)
new :
keyPressEventArgs:KeyPressEventArgs *
diagramClientView:DiagramClientView *
targetItem:DiagramItem -> DiagramKeyPressEventArgs
public function DiagramKeyPressEventArgs(
keyPressEventArgs : KeyPressEventArgs,
diagramClientView : DiagramClientView,
targetItem : DiagramItem
)
Parameters
keyPressEventArgs
Type: KeyPressEventArgsA KeyPressEventArgs that will be used to initialize this instance.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe DiagramClientView that the DiagramKeyPressEventArgs originated from.
targetItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe target DiagramItem that the key event is originally 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.
See Also
Reference
DiagramKeyPressEventArgs Class