KeyEventArgs.VirtualKey Property

Gets the virtual key that maps to the key that was pressed.

Syntax

public:
property VirtualKey VirtualKey {
         VirtualKey get ();
}  

Property value

Type: VirtualKey 

The virtual key value.

Remarks

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

KeyEventArgs Class

KeyEventArgs Members

Windows.UI.Core Namespace