OnKeyDown Method

TextBoxBase.OnKeyDown Method (KeyEventArgs)


Invoked whenever an unhandled Keyboard.KeyDown attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnKeyDown(
	KeyEventArgs e


Type: System.Windows.Input.KeyEventArgs

Provides data about the event.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft