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.2.dll
Declaration
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.
Related API
Properties
Events
- HtmlContentControl.ShowingEditor
- HtmlContentControl.ShownEditor
- HtmlContentControl.ValidatingEditor
- HtmlContentControl.HiddenEditor
- HtmlContentControl.EditorValueChanged
- HtmlContentControl.EditorValueChanging
- HtmlContentControl.CustomEditor
- HtmlContentControl.CustomEditorForEditing
Methods
- HtmlContentControl.ShowEditor
HtmlContentControl.CloseEditor
- HtmlContentControl.HideEditor
- HtmlContentControl.PostEditor
- HtmlContentControl.SetFieldValue
- HtmlContentControl.GetFieldValue