Dela via


UIElement.PreviewKeyDownEvent Property

Definition

Gets the identifier for the PreviewKeyDown routed event.

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

Property Value

The identifier for the PreviewKeyDown routed event.

Windows 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