Skip to main content

GridSummaryItem.GetFormatDisplayText(String, Object) Method

Returns the value formatted according to the specified format string.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public virtual string GetFormatDisplayText(
    string formatString,
    object value
)

Parameters

Name Type Description
formatString String

A format string.

value Object

A value to be formatted.

Returns

Type Description
String

A string value that specifies the value formatted according to the specified format string.

Remarks

If the GridSummaryItem.Format property is set, the specified value is formatted by the specified format provider.

See Also