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

PivotGridCustomTotal.Format Property

Gets or sets the string used to format the text within the custom total headers.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public string Format { get; set; }

#Property Value

Type Description
String

A string used to format the content of the custom total headers.

#Remarks

By default, the caption displayed within the custom total’s header is formatted using the following pattern: {0} SummaryType where ‘{0}’ is replaced with the corresponding value of the column/row field and the ‘SummaryType’ identifies the summary function type (e.g. “Beverages Sum”, “Beverages Average”, etc).

The Format property allows you to override the default format settings.

This property allows you to format values using the format strings described in the Standard Numeric Format Strings, Custom Numeric Format Strings, Standard Date and Time Format Strings and Custom Date and Time Format Strings topics in MSDN.

To learn more, see Standard Formatting.

See Also