Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ControlTemplate EditNonEditableTemplate { get; set; }

#Property Value

Type Description
ControlTemplate

A ControlTemplate object representing the editor’s template.

#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.

See Also