Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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