Skip to main content

BaseView.ShowEditorByKey(KeyEventArgs) Method

Activates an editor for the focused row cell and passes a specific key to it.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public virtual void ShowEditorByKey(
    KeyEventArgs e
)

Parameters

Name Type Description
e KeyEventArgs

A KeyEventArgs object identifying the key to be passed to the inplace editor.

Remarks

This method makes use of the BaseView.ShowEditor method to invoke an inplace editor for the focused cell. Note that the editor may not be activated since the currently focused cell can be read-only, etc. Please refer to the CardView.ShowEditor and GridView.ShowEditor method descriptions for details on when editor activation can be performed successfully.

If the focused cell’s editor has been successfully invoked, the key specified by the parameter is passed to it.

This method is used internally. Generally, you will have no need to use it in your applications.

See Also