RepositoryItem.IsNeededKey(Keys) Method

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public virtual bool IsNeededKey(
    Keys keyData
)
Public Overridable Function IsNeededKey(
    keyData As Keys
) As Boolean

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