BaseEdit.EditCore Property
Provides access to an internal editor control.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
FrameworkElement | The internal editor control. |
Remarks
The EditCore property returns a control whose name is set to ‘PART_Editor‘ and which is obtained from one of the following templates:
-
This template is used if an editor is used within a container control and it is inactive.
-
This template is used if an editor is used as a standalone control or it is active within a container control (its BaseEdit.EditMode property is set to EditMode.Standalone or EditMode.InplaceActive).
TextEditBase.EditNonEditableTemplate
This template is used if an editor is used as a standalone control or it is active within a container control and its ButtonEdit.IsTextEditable property is set to false.
For instance, the EditCore property returns TextBox for a standalone TextEdit, and TextBlock if the editor is inactive and is used within a container control (e.g. DXGrid).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditCore property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.