EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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

 

 

Mostrar:
© 2014 Microsoft