Skip to main content

ButtonEdit.IsTextEditable Property

Gets or sets whether end-users are allowed to edit the text displayed in the edit box. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core


public bool? IsTextEditable { get; set; }

Property Value

Type Default Description
Nullable<Boolean> true

true, to allow end-users to edit the text displayed in the edit box; otherwise, false.


If the IsTextEditable property is set to false, end-users are not allowed to change, select and copy the text displayed in the edit box, but can click editor buttons (if any). To allow end-users to copy the text, but prevent the text from being edited set the IsTextEditable and BaseEdit.IsReadOnly properties to true. To completely disable the editor (to prevent editing its value and clicking its buttons), set the IsEnabled property to false.

The EditNonEditableTemplate property specifies the editor’s template if the IsTextEditable property is set to false.

Drop-down editors display their drop-down windows when an end-user clicks the editor’s edit box if the IsTextEditable property is set to true.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsTextEditable property.


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