Back to Devexpress

PivotGridField.UseNativeFormat Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-e15024a5.md

latest1.9 KB
Original Source

PivotGridField.UseNativeFormat Property

Gets or sets whether to use the current field’s data format when the Pivot Grid Control is exported in XLS format. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool? UseNativeFormat { get; set; }
vb
Public Property UseNativeFormat As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true to use the current field’s data format when the Pivot Grid Control is exported in XLS format; otherwise, false.

|

Remarks

You can export PivotGridControl’s data in XLS format via the PivotGridControl.ExportToXls method.

The UseNativeFormat option specifies whether values of numeric data fields are exported in XLS format as numbers or as text. If the UseNativeFormat property is set to null , the actual export mode will be determined by the options parameter of the PivotGridControl.ExportToXls method.

See Also

ExportToXls

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace