OnKeyDown Method

LinkLabel.OnKeyDown Method (KeyEventArgs)

 
Use BaseTrue

Raises the OnKeyDown event.

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

protected override void OnKeyDown(
	KeyEventArgs e
)

Parameters

e
Type: System.Windows.Forms.KeyEventArgs

A KeyEventArgs that contains the event data.

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

Notes to Inheritors:

When overriding OnKeyDown in a derived class, be sure to call the base class's OnKeyDown method.

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