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.v20.1.dll

Declaration

[DefaultValue(true)]
public bool? IsTextEditable { get; set; }
<DefaultValue(True)>
Public Property IsTextEditable As Boolean?

Property Value

Type Default Description
Nullable<Boolean>

true

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

Remarks

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.

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.

See Also