A newer version of this page is available. Switch to the current version.

TextEdit.Text Property

Gets or sets the text displayed in the edit box.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Appearance")]
[Bindable(true)]
[Browsable(true)]
public override string Text { get; set; }

Property Value

Type Description
String

A String value which specifies the editor's text.

Remarks

The Text property's value is the text actually displayed by the editor.

Setting this property to a new value raises the BaseEdit.ParseEditValue event so that you can manually specify how the assigned value should be converted to the actual edit value. The BaseEdit.EditValueChanging event (which is raised before the actual edit value is changed) can be used to prevent the editor from changing its value. After the actual edit value has been changed the BaseEdit.EditValueChanged event is raised.

See Also