BaseEditSettings.GetDisplayText(Object, Boolean) Method

Returns the display representation of the specified value.

Namespace: DevExpress.Xpf.Editors.Settings

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

Declaration

public virtual string GetDisplayText(
    object editValue,
    bool applyFormatting
)
Public Overridable Function GetDisplayText(
    editValue As Object,
    applyFormatting As Boolean
) As String

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