UIElement.PreviewKeyDownEvent Property


Gets the identifier for the PreviewKeyDown routed event.

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

Property Value

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to

See also