Skip to main content
A newer version of this page is available. .

BaseEditSettings.GetDisplayText(Object, Boolean) Method

Returns the display representation of the specified value.

Namespace: DevExpress.Xpf.Editors.Settings

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

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