BaseEdit.DisplayText Property

Gets the text displayed within the editor. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

Declaration

public string DisplayText { get; }
Public ReadOnly Property DisplayText As String

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.

Implements

DevExpress.Xpf.Editors.IBaseEdit.DisplayText
See Also