KeyEventHandler KeyEventHandler KeyEventHandler Delegate

Definition

Represents the method that handles the KeyUp and KeyDown events.

public : delegate void KeyEventHandler(Platform::Object sender, KeyRoutedEventArgs e)
public delegate void KeyEventHandler(Object sender, KeyRoutedEventArgs e)
Public Delegate KeyEventHandler(sender As Object, e As KeyRoutedEventArgs)
Parameters
sender
Platform::Object Object Object

The object where the event handler is attached.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)