windowsforms-devexpress-dot-xtratreelist-dot-treelist-3d50683c.md
Hides the active editor, saving changes that were made.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public virtual void CloseEditor()
Public Overridable Sub 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.
Tip
The following in-place editors can post their value to the bound data source immediately after the value changes:
Use the editor’s InplaceModeImmediatePostChanges property to control this behavior. The WindowsFormsSettings.InplaceEditorUpdateMode property allows you to control update behavior globally.
See Also