DiagramKeyPressEventArgs Constructor (KeyPressEventArgs, DiagramClientView, DiagramItem)
Initializes a new instance of the DiagramKeyPressEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
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: 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.
.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