BaseEdit.DisplayFormatString Property

Gets or sets the pattern used to format the editor's value for display purposes. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v20.2.dll


public string DisplayFormatString { get; set; }
Public Property DisplayFormatString As String

Property Value

Type Description

A String value that is the format pattern.


Use the DisplayFormatString property to format the editor's value and add any text to its textual representation.

For example, to display currency values, set the DisplayFormatString property to 'c2'. If the editor's value is 99.9, its formatted equivalent will be $99.90.

See Also