KeyEventArgs.VirtualKey property

Applies to Windows and Windows Phone

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

Syntax


public VirtualKey VirtualKey { get; }

Property value

Type: VirtualKey

The virtual key value.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

See also

KeyEventArgs

 

 

Show:
© 2014 Microsoft