Back to Devexpress

PivotGridFieldBase.DefaultDateFormat Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-6fdc6c2f.md

latest2.9 KB
Original Source

PivotGridFieldBase.DefaultDateFormat Property

Provides access to global formatting settings for date/time values.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

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

Property Value

TypeDescription
FormatInfo

A FormatInfo object that provides the formatting settings for date/time values.

|

Remarks

Global formatting settings for decimal and percent values can be accessed via the static PivotGridFieldBase.DefaultDecimalFormat and PivotGridFieldBase.DefaultPercentFormat properties, respectively. The total values have specific global formatting settings obtained by the static PivotGridFieldBase.DefaultTotalFormat property.

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

To learn more, see Data Formatting.

See Also

DefaultDecimalFormat

DefaultPercentFormat

DefaultTotalFormat

IsDefaultFormat(FormatInfo)

Data Formatting

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace