Skip to main content

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