HtmlContentControl.ActiveEditor Property
Gets the active in-place editor defined in HTML markup by an ‘input’ tag with an embedded Repository Item.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
BaseEdit | The child active editor. |
Remarks
HtmlContentControl
allows you to use ‘input’ tags to embed in-place editors (Repository Items) into the UI.
When an in-place editor is not focused, it is rendered in browse mode. In this case, the HtmlContentControl
displays a placeholder (based on the Repository Item’s settings) that emulates a non-focused editor; the ActiveEditor
property returns null
.
When an in-place editor is about to be activated (for example, a user clicks the placeholder), the HtmlContentControl
creates the editor object (a BaseEdit descendant) based on the Repository Item’s settings, and displays the editor in lieu of the placeholder. The ActiveEditor
property allows you to return this BaseEdit object.
The editor is destroyed when it loses focus or a user presses ENTER or ESC. In this case, the ActiveEditor
property again returns null
.
See the following topic for more information: Editor Architecture: Repositories and Repository Items.
Related API
Properties
HtmlContentControl.ActiveEditor
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