Control.OnPreviewKeyDown(KeyRoutedEventArgs) Control.OnPreviewKeyDown(KeyRoutedEventArgs) Control.OnPreviewKeyDown(KeyRoutedEventArgs) Control.OnPreviewKeyDown(KeyRoutedEventArgs) Method

Definition

Called before the PreviewKeyDown event occurs.

protected : virtual void OnPreviewKeyDown(KeyRoutedEventArgs e)
virtual void OnPreviewKeyDown(KeyRoutedEventArgs e) const;
protected virtual void OnPreviewKeyDown(KeyRoutedEventArgs e)
Protected Overridable Sub OnPreviewKeyDown(e As KeyRoutedEventArgs)

Parameters

e
KeyRoutedEventArgs KeyRoutedEventArgs

The data for the event.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)