DiagramKeyPressEventArgs Constructor (KeyPressEventArgs^, DiagramClientView^, DiagramItem^)
Visual Studio 2015
Initializes a new instance of the DiagramKeyPressEventArgs class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public:
DiagramKeyPressEventArgs(
KeyPressEventArgs^ keyPressEventArgs,
DiagramClientView^ diagramClientView,
DiagramItem^ targetItem
)
Parameters
- keyPressEventArgs
-
Type:
System.Windows.Forms::KeyPressEventArgs^
A KeyPressEventArgs that will be used to initialize this instance.
- diagramClientView
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^
The DiagramClientView that the DiagramKeyPressEventArgs originated from.
- targetItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The target DiagramItem that the key event is originally intended for.
Show: