NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

KeyEventArgs.Modifiers

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;

Property Value

One or more modifier flags, as defined in Keys.

Remarks

To determine whether a specific modifier key was pressed, use the Control, Shift, and Alt properties. Modifier flags may be combined with bitwise OR.

See Also

KeyEventArgs Class | KeyEventArgs Members | System.WinForms Namespace | Alt | Control | Shift