Skip to main content
A newer version of this page is available. .

RepositoryItem.IsNeededKey(Keys) Method

Indicates whether the key is handled by the editor or the container control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public virtual bool IsNeededKey(
    Keys keyData
)

Parameters

Name Type Description
keyData Keys

A KeyEventArgs object specifying the key to process.

Returns

Type Description
Boolean

true if the key will be processed by the editor.

Remarks

This method is used internally by container controls when an inplace editor is active. Its return value indicates whether to pass the key to the editor. If the editor has no predefined response, the key press is processed by the container control.

See Also