UIElement.PreviewKeyDownEvent 属性

定义

获取 PreviewKeyDown 路由事件的标识符。

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

属性值

PreviewKeyDown 路由事件的标识符。

Windows 要求

要求 说明
设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于

另请参阅