UIElement.PreviewKeyDownEvent Property

Definition

Gets the identifier for the PreviewKeyDown routed event.

public:
 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

RoutedEvent

The identifier for the PreviewKeyDown routed event.

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