Skip to main content
All docs
V24.1

HtmlContentControl.CloseEditor() Method

Closes the currently opened in-place editor and saves changes made by a user. This member is only in effect for in-place editors (Repository Items) added to the UI using the ‘input’ tag.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void CloseEditor()

Remarks

The CloseEditor method saves the changes made in the edit box and then closes the editor (switches the editor from edit to browse mode). The HtmlContentControl.HideEditor method closes the active editor while discarding the changes made.

The CloseEditor method is called when a user presses ENTER or moves focus away from the editor.

See the following topic for information on how to access the active in-place editor, and the specifics of working with in-place editors: HtmlContentControl.ActiveEditor.

Properties

Events

Methods

See Also