TreeList.ActiveEditor Property

Gets the currently active cell editor.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.1.dll


public BaseEdit ActiveEditor { get; }

Property Value

Type Description

A BaseEdit descendant representing the currently active editor. null (Nothing in Visual Basic) if no cell is being edited at the moment.


Cell values are edited by means of editors inherited from the BaseEdit class. Editors available for editing cell values are stored within the repository, which can be accessed via the Tree List’s EditorContainer.RepositoryItems property. The repository allows you to add, delete and customize individual editors within it.

You can assign editors to columns via the TreeListColumn.ColumnEdit property. In such a case, each cell in the column will use the specified editor. On the other hand, you can specify an editor for each individual cell by handling the TreeList.CustomNodeCellEdit event.

The editor is automatically created when a cell it is assigned to is being edited. This prevents the creation of multiple instances of the editor. As the result, the ActiveEditor property returns null (Nothing in Visual Basic) if no cell is being edited at the moment. Otherwise it returns the editor assigned to the cell whose value is being edited.

See Also