Gets the modifier flags for a System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event. This indicates which modifier keys (CTRL, SHIFT, and/or ALT) were pressed.
[Visual Basic] Public ReadOnly Property Modifiers As Keys [C#] public Keys Modifiers {get;} [C++] public: __property Keys get_Modifiers(); [JScript] public function get Modifiers() : Keys;
One or more modifier flags, as defined in Keys.
To determine whether a specific modifier key was pressed, use the Control, Shift, and Alt properties. Modifier flags may be combined with bitwise OR.
KeyEventArgs Class | KeyEventArgs Members | System.WinForms Namespace | Alt | Control | Shift