Megosztás a következőn keresztül:


AcceleratorKeyEventArgs.VirtualKey Property

Definition

Gets the virtual key code (or ASCII/unicode character code depending on the EventType) for 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 (or ASCII/unicode character code depending on the EventType) for the accelerator key event.

Applies to

See also