DiagramKeyPressEventArgs Class

Definition

Provides data for the KeyPress event.

public ref class DiagramKeyPressEventArgs : Microsoft::VisualStudio::Modeling::Diagrams::DiagramEventArgs
public class DiagramKeyPressEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramEventArgs
type DiagramKeyPressEventArgs = class
    inherit DiagramEventArgs
Public Class DiagramKeyPressEventArgs
Inherits DiagramEventArgs
Inheritance
DiagramKeyPressEventArgs

Constructors

DiagramKeyPressEventArgs()

Initializes a new instance of the DiagramKeyPressEventArgs class.

DiagramKeyPressEventArgs(KeyPressEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyPressEventArgs class.

Properties

DiagramClientView

Gets the DiagramClientView that the DiagramEventArgs originated from.

(Inherited from DiagramEventArgs)
Handled

Gets or sets a value indicating whether this event has been handled.

KeyChar

Gets the character corresponding to the key pressed.

TargetItem

Gets or sets the DiagramItem that the key event is intended for.

Applies to