Share via


DashboardLinkLabel.OnKeyDown Method (KeyEventArgs)

 

Raises the KeyDown event.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

protected override void OnKeyDown(
    KeyEventArgs e
)
protected:
virtual void OnKeyDown(
    KeyEventArgs^ e
) override
Protected Overrides Sub OnKeyDown (
    e As KeyEventArgs
)

Parameters

Remarks

This method catches any key down events and checks whether the user pressed the Enter key or the Spacebar. If one of those keys was pressed, the method calls OnLinkClicked.

See Also

KeyDown
KeyEventArgs
DashboardLinkLabel Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top