OnKeyDown Method

HwndHost.OnKeyDown Method (KeyEventArgs)

 

Called when the hosted window receives a WM_KEYDOWNmessage.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

<SecurityCriticalAttribute>
<SecurityTreatAsSafeAttribute>
Protected Overrides Sub OnKeyDown (
	e As KeyEventArgs
)

Parameters

e
Type: System.Windows.Input.KeyEventArgs

The event data.

System_CAPS_security Security Note

This type or member is not available in the Internet security zone.

This is an override of the class handler OnKeyDown and provides the behavior of translating the Win32 message into a Windows Presentation Foundation (WPF) event, marking the event as handled whenever appropriate.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft