Skip to main content
All docs
V22.2

IKeyboardHandlerService.OnKeyDown(PortableKeyEventArgs) Method

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

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data

Declaration

void OnKeyDown(
    PortableKeyEventArgs e
)

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

Create a KeyboardHandlerServiceWrapper class descendant to handle keyboard events.

See Also