Skip to main content

TreeList.HiddenEditor Event

Fires immediately after a cell editor has been closed.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

[DXCategory("Editor")]
public event EventHandler HiddenEditor

Event Data

The HiddenEditor event's data class is EventArgs.

Remarks

Cell values are edited by means of specially designed editors from the DevExpress Editors Library (or their descendants). You can assign an editor to a column via the column’s TreeListColumn.ColumnEdit property. Moreover, editors can be assigned to individual cells. The TreeList.CustomNodeCellEdit event must be handled for this purpose.

Editors are instantiated when the user starts to edit a cell value. When editing is finished (the user presses the ENTER key, moves focus via arrow keys, or clicks outside the edited cell) the editor is destroyed. This allows you to use the same editor for different cells. Write a HiddenEditor event handler to perform specific actions each time a cell editor is destroyed. The TreeList.ShownEditor event enables you to handle editor creation. See the Inplace Editors topic for details.

Note: you can either show or hide the current cell’s editor by calling the TreeList.ShowEditor and TreeList.HideEditor methods respectively.

See Also