Delen via


ProcessKeyboardAcceleratorEventArgs.Modifiers Property

Definition

Gets the virtual key used to modify another keypress for a keyboard shortcut (accelerator).

A keyboard shortcut is invoked when the modifier keys asssociated with the shortcut are pressed and then the non-modifier key is pressed at the same time. For example, Ctrl+C for copy and Ctrl+S for save.

public:
 property VirtualKeyModifiers Modifiers { VirtualKeyModifiers get(); };
VirtualKeyModifiers Modifiers();
public VirtualKeyModifiers Modifiers { get; }
var virtualKeyModifiers = processKeyboardAcceleratorEventArgs.modifiers;
Public ReadOnly Property Modifiers As VirtualKeyModifiers

Property Value

The virtual key.

Applies to

See also