Share via


DiagramKeyPressEventArgs Constructors

Definition

Overloads

DiagramKeyPressEventArgs()

Initializes a new instance of the DiagramKeyPressEventArgs class.

DiagramKeyPressEventArgs(KeyPressEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyPressEventArgs class.

DiagramKeyPressEventArgs()

Initializes a new instance of the DiagramKeyPressEventArgs class.

protected:
 DiagramKeyPressEventArgs();
protected DiagramKeyPressEventArgs ();
Protected Sub New ()

Applies to

DiagramKeyPressEventArgs(KeyPressEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyPressEventArgs class.

public:
 DiagramKeyPressEventArgs(System::Windows::Forms::KeyPressEventArgs ^ keyPressEventArgs, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ targetItem);
public DiagramKeyPressEventArgs (System.Windows.Forms.KeyPressEventArgs keyPressEventArgs, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem targetItem);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgs : System.Windows.Forms.KeyPressEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgs
Public Sub New (keyPressEventArgs As KeyPressEventArgs, diagramClientView As DiagramClientView, targetItem As DiagramItem)

Parameters

keyPressEventArgs
KeyPressEventArgs

A KeyPressEventArgs that will be used to initialize this instance.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramKeyPressEventArgs originated from.

targetItem
DiagramItem

The target DiagramItem that the key event is originally intended for.

Applies to