Back to Devexpress

RepositoryItem.GetDisplayText(Object) Method

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

latest1.8 KB
Original Source

RepositoryItem.GetDisplayText(Object) Method

Returns the text representation of the specified value formatted using the editor’s settings.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
editValueObject

An object representing the value to be formatted.

|

Returns

TypeDescription
String

A string value representing the formatted textual representation of the value specified.

|

Remarks

Editors use this method internally to convert their edit values into the text actually displayed.

See Also

DisplayFormat

FormatEditValue

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace