Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeyEventHandler delegate

Applies to Windows and Windows Phone

Represents the method that handles the KeyUp and KeyDown events.

Syntax


public delegate void KeyEventHandler(
  object sender, 
  KeyRoutedEventArgs e
)

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Parameters

sender

Type: System.Object [.NET] | Platform::Object [C++]

The object where the event handler is attached.

e

Type: KeyRoutedEventArgs

The event data.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Input
Windows::UI::Xaml::Input [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft