Skip to main content
All docs
V24.2

HtmlContentControl.CustomEditorForEditing Event

Allows you to specify custom in-place editors (Repository Items) for individual <input> tags in edit mode. The event is not in effect for <input> tags used to embed external controls.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Editor")]
public event CustomEditorEventHandler CustomEditorForEditing

Event Data

The CustomEditorForEditing event's data class is DevExpress.XtraEditors.CustomEditorEventArgs.

Remarks

The HtmlContentControl.CustomEditor event allows you to assign an in-place editor (Repository Item) to an <input> tag dynamically. If specified, this in-place editor is used both when the editor is not active (browse mode), and active (edit mode).

Handle the CustomEditorForEditing event to specify an in-place editor for edit mode. The supplied editor is not used in browse mode.

The e.FieldName event parameter identifies the currently processed input tag. It specifies the tag’s bound field name (the value argument of the <input> tag).

Use the e.RepositoryItem event parameter to specify an in-place editor for the current input tag. The in-place editor must be added to the HtmlContentControl.RepositoryItems collection or an external repository (see EditorContainer.ExternalRepository).

See the HtmlContentControl.CustomEditor event description for more information.

Properties

Events

Methods

See Also