Skip to main content

IKeyboardHandlerService.OnKeyPress(PortableKeyPressEventArgs) Method

Override this method in a descending class to handle the KeyPress event.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

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 that corresponds to the key a user pressed.

Remarks

Create a KeyboardHandlerServiceWrapper class descendant to handle keyboard events.

See Also