corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsprint-a3c721f2.md
Gets or sets whether data field headers are printed.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean PrintDataHeaders { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property PrintDataHeaders As DefaultBoolean
| 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
|
You can access this nested property as listed below:
| Object Type | Path to PrintDataHeaders |
|---|---|
| PivotGridControl |
.OptionsPrint .PrintDataHeaders
|
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