DiagramKeyEventArgs.KeyCode Property

Definition

Gets the keyboard code for a KeyDown or KeyUp event.

public:
 property System::Windows::Forms::Keys KeyCode { System::Windows::Forms::Keys get(); };
public System.Windows.Forms.Keys KeyCode { get; }
member this.KeyCode : System.Windows.Forms.Keys
Public ReadOnly Property KeyCode As Keys

Property Value

A Keys value that is the key code for the event.

Applies to