Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnPreviewKeyDown Method

TextBoxBase::OnPreviewKeyDown Method

.NET Framework 4.6 and 4.5

Called when the KeyDown occurs.

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

protected:
virtual void OnPreviewKeyDown(
	KeyEventArgs^ e
) override

Parameters

e
Type: System.Windows.Input::KeyEventArgs

The event data.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft