KeyEventArgs Properties

KeyEventArgs Properties

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubpropertyAlt

Gets a value indicating whether the ALT key was pressed.

System_CAPS_pubpropertyControl

Gets a value indicating whether the CTRL key was pressed.

System_CAPS_pubpropertyHandled

Gets or sets a value indicating whether the event was handled.

System_CAPS_pubpropertyKeyCode

Gets the keyboard code for a KeyDown or KeyUp event.

System_CAPS_pubpropertyKeyData

Gets the key data for a KeyDown or KeyUp event.

System_CAPS_pubpropertyKeyValue

Gets the keyboard value for a KeyDown or KeyUp event.

System_CAPS_pubpropertyModifiers

Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.

System_CAPS_pubpropertyShift

Gets a value indicating whether the SHIFT key was pressed.

System_CAPS_pubpropertySuppressKeyPress

Gets or sets a value indicating whether the key event should be passed on to the underlying control.

Return to top
Show:
© 2016 Microsoft