KeyRoutedEventArgs.OriginalKey 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 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.
public:
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.