Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

PivotField.NumberFormat Property

Gets or sets a format string used to display numeric values (e.g., dates or times) within the PivotTable field.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

string NumberFormat { get; set; }

Property Value

Type Description
String

A String value that specifies the number format to be applied to the pivot field.

Remarks

Use the NumberFormat property to change the number format for a numeric field located in the row, column or page area of a PivotTable report.

To apply the number format to a data field in a pivot table, use the PivotDataField.NumberFormat property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NumberFormat property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also