BaseEdit.DisplayText Property
Gets the text displayed within the editor. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
String | A String value that specifies the editor’s display text. |
Remarks
By default, the text displayed within the editor is specified by the Text property. The BaseEdit.DisplayFormatString property can be used to format it (e.g. to display a currency amount).
It is also possible to display a custom text within the editor. To do this, the BaseEdit.CustomDisplayText event should be handled.
The DisplayText property returns the string currently displayed within the editor.
See Also