corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsprint-e2de0025.md
Gets or sets whether column 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 PrintColumnHeaders { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property PrintColumnHeaders As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
A DefaultBoolean enumeration value which specifies whether column 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 PrintColumnHeaders |
|---|---|
| PivotGridControl |
.OptionsPrint .PrintColumnHeaders
|
If the PrintColumnHeaders property is set to the DefaultBoolean.True value, the headers of column fields are printed regardless of their actual visibility within the pivot grid (i.e. regardless of the PivotGridOptionsViewBase.ShowColumnHeaders property’s value).
See Also