Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataSummaryItem.FormatValue(Variant,Boolean) Method

Returns a string representation of a specific summary object value.

#Declaration

Delphi
function FormatValue(const AValue: Variant; AIsFooter: Boolean): string; virtual;

#Parameters

Name Type
AValue Variant
AIsFooter Boolean

#Returns

Type
string

#Remarks

The AValue parameter refers to the summary value.

The AIsFooter parameter is equal to True when the summary value is displayed either in a footer panel or a group footer panel.

By default, this function formats the summary value using the format pattern specified by the Format property. If this property is assigned an empty string, the default format string is used as specified by the DefaultFormat function of a collection summary that the summary object belongs to.

Note

You can handle the OnGetText event to customize the return value of the FormatValue function.

See Also