Version

KeyEventArgs Class Members

The following tables list the members exposed by KeyEventArgs.

Public Constructors
 NameDescription
Public ConstructorKeyEventArgs ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyAltGets a value indicating whether the ALT key was pressed.  
Public PropertyCtrlGets a value indicating whether the CTRL key was pressed.  
Public PropertyDefaultPrevented  
Public PropertyKeyCodeGets the keyboard code for a KeyDown or KeyUp event.  
Public PropertyModifiersGets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.  
Public PropertyShiftGets a value indicating whether the SHIFT key was pressed.  
Public Methods
 NameDescription
Public MethodPreventDefault  
Public MethodStopPropagation  
See Also