Skip to main content

RepositoryItemComboBox.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 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetDisplayText(FormatInfo, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also