Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.CloseEditor() Method

In This Article

Hides the active editor, saving changes that were made.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.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