Skip to main content

TreeList.CloseEditor() Method

Hides the active editor, saving changes that were made.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public virtual void CloseEditor()

Remarks

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