Back to Devexpress

BaseView.ShowEditorByKey(KeyEventArgs) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-dot-showeditorbykey-x28-system-dot-windows-dot-forms-dot-keyeventargs-x29.md

latest2.6 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public virtual void ShowEditorByKey(
    KeyEventArgs e
)
vb
Public Overridable Sub ShowEditorByKey(
    e As KeyEventArgs
)

Parameters

NameTypeDescription
eKeyEventArgs

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

ShowEditorByKeyPress(KeyPressEventArgs)

ShowEditorByMouse

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace