Control.OnPreviewKeyDown(KeyRoutedEventArgs) 方法

定義

PreviewKeyDown 事件發生之前呼叫。

protected:
 virtual void OnPreviewKeyDown(KeyRoutedEventArgs ^ e) = OnPreviewKeyDown;
void OnPreviewKeyDown(KeyRoutedEventArgs const& e);
protected virtual void OnPreviewKeyDown(KeyRoutedEventArgs e);
function onPreviewKeyDown(e)
Protected Overridable Sub OnPreviewKeyDown (e As KeyRoutedEventArgs)

參數

e
KeyRoutedEventArgs

事件的資料。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於