Skip to main content

ButtonEdit.IsTextEditable Property

Gets or sets whether an end-user is allowed to edit the text displayed within the edit box. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

#Declaration

[DefaultValue(true)]
public bool IsTextEditable { get; set; }

#Property Value

Type Default Description
Boolean

true

true to allow an end-user to edit the text displayed within the edit box; otherwise, false.

#Remarks

If the IsTextEditable property is set to false, an end-user is not allowed to change, select and copy the text displayed within the edit box, but can click editor buttons (if any). To allow an end-user to copy the text, 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.

See Also