Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Namespace: Dapfor.Wpf.Controls
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
protected override void OnPreviewKeyDown(
	KeyEventArgs e
)
Visual Basic
Protected Overrides Sub OnPreviewKeyDown ( 
	e As KeyEventArgs
)
Visual C++
protected:
virtual void OnPreviewKeyDown(
	KeyEventArgs^ e
) override
F#
abstract OnPreviewKeyDown : 
        e : KeyEventArgs -> unit 
override OnPreviewKeyDown : 
        e : KeyEventArgs -> unit 

Parameters

e
Type: System.Windows.Input..::..KeyEventArgs
The KeyEventArgs that contains the event data.

See Also