Back to Devexpress

RepositoryItem.GetDisplayText(FormatInfo, Object) Method

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-dot-getdisplaytext-x28-devexpress-dot-utils-dot-formatinfo-system-dot-object-x29.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual string GetDisplayText(
    FormatInfo format,
    object editValue
)
vb
Public Overridable Function GetDisplayText(
    format As FormatInfo,
    editValue As Object
) As String

Parameters

NameTypeDescription
formatFormatInfo

A FormatInfo object that specifies formatting settings.

| | editValue | Object |

A value to be formatted.

|

Returns

TypeDescription
String

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

|

See Also

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace