SDG Toolkit

SdgKeyEventArgs.Modifiers Property

Returns a Keys enumeration of all the modifiers used (such as Alt, Control and Shift) in the key event

public System.Windows.Forms.Keys Modifiers {get; set;}

Remarks

This is useful for telling you which of Control, Alt and Shift are current depressed

Example

C# Eg., if ((Keys.Shift & e.Modifiers) > 0 && (Keys.Control & e.Modifiers) > 0) {}

See Also

SdgKeyEventArgs Class | Sdgt Namespace