Editar

Partilhar via


LinkLabel.OnKeyDown(KeyEventArgs) Method

Definition

Raises the OnKeyDown(KeyEventArgs) event.

protected:
 override void OnKeyDown(System::Windows::Forms::KeyEventArgs ^ e);
protected override void OnKeyDown (System.Windows.Forms.KeyEventArgs e);
override this.OnKeyDown : System.Windows.Forms.KeyEventArgs -> unit
Protected Overrides Sub OnKeyDown (e As KeyEventArgs)

Parameters

e
KeyEventArgs

A KeyEventArgs that contains the event data.

Remarks

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

Notes to Inheritors

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

Applies to

See also