Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public string DisplayFormatString { get; set; }

Property Value

Type Description
String

A String value that is the format pattern.

Remarks

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