All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
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.OnKeyPress(PortableKeyPressEventArgs) Method

Override this method to handle the KeyPress event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v21.1.dll

Declaration

public virtual void OnKeyPress(
    PortableKeyPressEventArgs e
)

Parameters

Name Type Description
e DevExpress.Portable.Input.PortableKeyPressEventArgs

This class is equivalent to System.Windows.Forms.KeyPressEventArgs and specifies the ASCII character corresponding to the key a user pressed.

Remarks

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

See Also