BaseEdit.EditCore Property
Provides access to an internal editor control.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
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).