CoreWebView2AcceleratorKeyPressedEventArgs.VirtualKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Win32 virtual key code of the key that was pressed or released.
public uint VirtualKey { get; }
member this.VirtualKey : uint32
Public ReadOnly Property VirtualKey As UInteger
Property Value
Remarks
It is one of the Win32 virtual key constants such as VK_RETURN or an (uppercase) ASCII value such as 'A'. Verify whether Ctrl or Alt are pressed by running GetKeyState(VK_CONTROL) or GetKeyState(VK_MENU).