Compartir a través de


KeyEventHandler Delegado

Definición

Representa el método que controla los eventos KeyUp y KeyDown .

public delegate void KeyEventHandler(Platform::Object ^ sender, KeyRoutedEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3681085388, 39467, 21117, 153, 137, 37, 40, 77, 172, 204, 3)]
public delegate void KeyEventHandler(object sender, KeyRoutedEventArgs e);
Public Delegate Sub KeyEventHandler(sender As Object, e As KeyRoutedEventArgs)

Parámetros

sender
Object

Platform::Object

Objeto en que está asociado el controlador de eventos.

e
KeyRoutedEventArgs

Datos del evento.

Atributos

Se aplica a