AcceleratorKeyEventArgs.VirtualKey Property

Definition

Gets the virtual key code for the keypress in the accelerator key event.

public:
 property VirtualKey VirtualKey { VirtualKey get(); };
VirtualKey VirtualKey();
public VirtualKey VirtualKey { get; }
var virtualKey = acceleratorKeyEventArgs.virtualKey;
Public ReadOnly Property VirtualKey As VirtualKey

Property Value

The virtual key code of the key that was pressed.

Applies to

See also