ElementHost::PreviewKeyDown Event

 

Occurs before the KeyDown event when a key is pressed while focus is on this control.

Namespace:   System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

public:
[BrowsableAttribute(false)]
event PreviewKeyDownEventHandler^ PreviewKeyDown {
	void add(PreviewKeyDownEventHandler^ value);
	void remove(PreviewKeyDownEventHandler^ value);
}

For more information about the PreviewKeyDown event, see Control::PreviewKeyDown.

.NET Framework
Available since 3.0
Return to top
Show: