All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

KeyboardHandlerServiceWrapper.OnKeyDown(PortableKeyEventArgs) Method

Override this method to handle the KeyDown event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v20.1.dll

Declaration

public virtual void OnKeyDown(
    PortableKeyEventArgs e
)
Public Overridable Sub OnKeyDown(
    e As PortableKeyEventArgs
)

Parameters

Name Type Description
e DevExpress.Portable.Input.PortableKeyEventArgs

This class is equivalent to System.Windows.Forms.KeyEventArgs and contains information about the pressed key and key modifiers.

Remarks

The KeyDown event occurs when a key is pressed while a control is focused. The KeyDown event precedes the KeyPress event, and the KeyUp event occurs when a user releases the key.

See Also