Skip to main content

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

If the FormatInfo.FormatString property of the FormatInfo object passed as the format parameter is not specified, the default formatting settings are used.

See Also