Freigeben über


DiagramKeyEventArgs Constructors

Definition

Overloads

DiagramKeyEventArgs()

Initializes a new instance of the DiagramKeyEventArgs class.

DiagramKeyEventArgs(KeyEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyEventArgs class.

DiagramKeyEventArgs()

Initializes a new instance of the DiagramKeyEventArgs class.

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

Applies to

DiagramKeyEventArgs(KeyEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyEventArgs class.

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

Parameters

keyEventArgs
KeyEventArgs

The KeyEventArgs that will be used to initialize this instance.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramKeyEventArgs originated from.

targetItem
DiagramItem

The target DiagramItem that the key event is intended for.

Applies to