System.Windows.Forms.KeyEventArgs.Modifiers Property

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

Syntax

public Keys Modifiers { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0