Skip to main content

BaseEditSettings.GetDisplayText(Object, Boolean) Method

Returns the display representation of the specified value.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public virtual string GetDisplayText(
    object editValue,
    bool applyFormatting
)

Parameters

Name Type Description
editValue Object

An object that represents the value to format.

applyFormatting Boolean

true to apply formatting specified by the BaseEditSettings.DisplayFormat property; otherwise, false.

Returns

Type Description
String

A String value that represents the specified value formatted for display purposes.

See Also