UIElement.KeyDownEvent Property

Definition

Gets the identifier for the KeyDown routed event.

Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.KeyDownEvent.

public:
 static property RoutedEvent ^ KeyDownEvent { RoutedEvent ^ get(); };
RoutedEvent KeyDownEvent();
public static RoutedEvent KeyDownEvent { get; }
var routedEvent = UIElement.keyDownEvent;
Public Shared ReadOnly Property KeyDownEvent As RoutedEvent

Property Value

RoutedEvent

The identifier for the KeyDown routed event.

Applies to

See also