wpf-devexpress-dot-xpf-dot-editors-dot-baseedit-56db7625.md
Gets the text displayed within the editor. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public string DisplayText { get; }
Public ReadOnly Property DisplayText As String
| Type | Description |
|---|---|
| String |
A String value that specifies the editor’s display text.
|
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