Skip to main content

RepositoryItem.GetDisplayText(FormatInfo, Object) Method

Returns the text representation of the specified value, formatted according to the specified settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public virtual string GetDisplayText(
    FormatInfo format,
    object editValue
)

Parameters

Name Type Description
format FormatInfo

A FormatInfo object that specifies formatting settings.

editValue Object

A value to be formatted.

Returns

Type Description
String

A string that specifies the value’s formatted text representation.

See Also