Skip to main content
A newer version of this page is available. .

DataViewBase.CloseEditor() Method

Hides the active editor, saving the changes made.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.2.Core.dll

Declaration

public void CloseEditor()

Remarks

Before the active editor’s new value is posted to a data source, it is validated. If a new value is valid, it is posted to a data source and the editor can be closed. Otherwise, if a new value is invalid, the active editor cannot be closed, and cell focus cannot be moved to another cell until its value is corrected.

After the editor has been hidden, the GridViewBase.HiddenEditor event is raised.

See Also