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: KeyPressEventArgs

    A KeyPressEventArgs that will be used to initialize this instance.

.NET Framework Security

See Also

Reference

DiagramKeyPressEventArgs Class

DiagramKeyPressEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace