[This is preliminary documentation and is subject to change.]

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: Tools.WindowsT.WPF.ControlsT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

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 
JScript
protected override function OnPreviewKeyDown(
	e : KeyEventArgs
)

Parameters

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

Remarks

This implementation handles the Up and Down keys.

See Also

Collapse/expand Version History

1.5.3

  • This override is new in version 1.5.3