KeyRoutedEventArgs.OriginalKey Property


Gets the original, unmapped virtual key associated with the event.

Depending on the input device, the input button might be mapped to a different key value. For the mapped event value, see the Key property.

 property VirtualKey OriginalKey { VirtualKey get(); };
VirtualKey OriginalKey();
public VirtualKey OriginalKey { get; }
var virtualKey = keyRoutedEventArgs.originalKey;
Public ReadOnly Property OriginalKey As VirtualKey

Property Value

A system value that indicates the code for the key referenced by the event.

Applies to