Skip to main content

PivotGridOptionsPrint.PrintDataHeaders Property

Gets or sets whether data field headers are printed.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean PrintDataHeaders { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value which specifies whether data field headers are printed.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Object Type Path to PrintDataHeaders
PivotGridControl
.OptionsPrint .PrintDataHeaders

Remarks

If the PrintDataHeaders property is set to the DefaultBoolean.True value, headers of data fields are printed regardless of their actual visibility within the pivot grid (i.e. regardless of the PivotGridOptionsViewBase.ShowDataHeaders property’s value).

See Also