KeyEventArgs Properties
Collapse the table of content
Expand the table of content

KeyEventArgs Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The KeyEventArgs type exposes the following members.

  NameDescription
Public property Handled Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.
Public property Key Gets the keyboard key associated with the event.
Public property OriginalSource Gets a reference to the object that raised the event. (Inherited from RoutedEventArgs.)
Public property PlatformKeyCode Gets an integer value that represents the key that is pressed or released (depending on which event is raised). This value is the nonportable key code, which is operating system–specific.
Top

Show:
© 2017 Microsoft