DiagramKeyEventArgs Class

Definition

Provides data for the KeyDown or KeyUp event.

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

Constructors

DiagramKeyEventArgs()

Initializes a new instance of the DiagramKeyEventArgs class.

DiagramKeyEventArgs(KeyEventArgs, DiagramClientView, DiagramItem)

Initializes a new instance of the DiagramKeyEventArgs class.

Properties

Alt

Gets a value indicating whether the ALT key was pressed.

Control

Gets a value indicating whether the CTRL key was pressed.

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.

(Inherited from DiagramEventArgs)
KeyCode

Gets the keyboard code for a KeyDown or KeyUp event.

KeyData

Gets the key data for a KeyDown or KeyUp event.

KeyValue

Gets the keyboard value for a KeyDown or KeyUp event.

Shift

Gets a value indicating whether the SHIFT key was pressed.

TargetItem

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

Applies to