Skip to main content
A newer version of this page is available. .

TextEditSettings.EditNonEditableTemplate Property

Gets or sets a template that defines the in-place button editor’s presentation when the editor is active, but its text field is not editable. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public ControlTemplate EditNonEditableTemplate { get; set; }

Property Value

Type Description
ControlTemplate

A ControlTemplate object representing the editor’s template.

Property Paths

You can access this nested property as listed below:

Object Type Path to EditNonEditableTemplate
TokenEditorBehavior
.TokenEditSettings.EditNonEditableTemplate

Remarks

The EditNonEditableTemplate property is in effect for the ButtonEdit editor and its derived editors.

The template, specified via the EditNonEditableTemplate property, is applied to the editor’s text field when the editor is in-place within a container control (e.g. GridControl) and its ButtonEditSettings.IsTextEditable property is set to false. In this instance, the editor’s text field cannot be edited, and an end-user can change the editor’s value only by choosing it from the drop-down list.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditNonEditableTemplate 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.

See Also