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.v20.1.dll

Declaration

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

Parameters

Name Type Description
editValue Object

An object representing the value to be formatted.

Returns

Type Description
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