Skip to main content

TreeList.CloseEditor() Method

Hides the active editor, saving changes that were made.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList


public virtual void CloseEditor()


Cell values are edited by editors from the DevExpress Editors Library or their descendants. Unlike the TreeList.HideEditor method, which simply closes the active editor, the CloseEditor method also saves the changes made to the edited cell’s content.

The CloseEditor method is also called automatically when an end-user accepts the edited value.

See Also