Skip to main content
All docs
V24.1

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.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public BaseEdit ActiveEditor { get; }

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.

Properties

  • HtmlContentControl.ActiveEditor

Events

Methods

See Also