Back to Devexpress

PivotGridFieldBase.DefaultTotalFormat Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-6581768f.md

latest2.9 KB
Original Source

PivotGridFieldBase.DefaultTotalFormat Property

Provides access to global format settings for total values.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public static FormatInfo DefaultTotalFormat { get; }
vb
Public Shared ReadOnly Property DefaultTotalFormat As FormatInfo

Property Value

TypeDescription
FormatInfo

A FormatInfo object that provides the format settings for total values.

|

Remarks

The PivotGridControl provides global formatting settings for values of different types. Global formatting settings for decimal, percent and date/time values can be accessed via the static PivotGridFieldBase.DefaultDecimalFormat, PivotGridFieldBase.DefaultPercentFormat, and PivotGridFieldBase.DefaultDateFormat properties, respectively.

Use the PivotGridFieldBase.IsDefaultFormat method to determine whether particular format settings match the default ones.

To learn more, see Data Formatting.

See Also

DefaultDecimalFormat

DefaultPercentFormat

DefaultDateFormat

IsDefaultFormat(FormatInfo)

Data Formatting

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace