Back to Devexpress

RepositoryItem.IsNeededKey(Keys) Method

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-dot-isneededkey-x28-system-dot-windows-dot-forms-dot-keys-x29.md

latest1.8 KB
Original Source

RepositoryItem.IsNeededKey(Keys) Method

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
keyDataKeys

A KeyEventArgs object specifying the key to process.

|

Returns

TypeDescription
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

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace