PivotGridCustomTotalBase.CellFormat Property

Provides the settings used to format the custom total's values.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

public FormatInfo CellFormat { get; }
Public ReadOnly Property CellFormat As FormatInfo

Property Value

Type Description
FormatInfo

A FormatInfo object that specifies the formatting settings for the custom total values.

Remarks

The default settings used to format custom total values are determined by a data field's PivotGridFieldBase.TotalCellFormat property. The CellFormat property can be used to override these default settings for particular custom totals.

The settings provided by this property allow you to format values using two approaches. The first is to use the format strings described in the Standard Numeric Format Strings, Custom Numeric Format Strings, Standard Date and Time Format Strings, Custom Date and Time Format Strings and Composite Formatting topics in MSDN. Another approach is to implement a custom formatter object. This enables you to apply formatting of any desired level of complexity.

Refer to Data Formatting to learn more.

See Also