Skip to main content

RepositoryItemGridLookUpEdit.GetDisplayText(FormatInfo, Object) Method

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public override 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.

Remarks

This method overrides the base RepositoryItem.GetDisplayText method.

See Also