Back to Devexpress

PivotGridOptionsPrint.PrintColumnHeaders Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsprint-e2de0025.md

latest2.8 KB
Original Source

PivotGridOptionsPrint.PrintColumnHeaders Property

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

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean PrintColumnHeaders { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property PrintColumnHeaders As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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 TypePath to PrintColumnHeaders
PivotGridControl

.OptionsPrint .PrintColumnHeaders

|

Remarks

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

PrintRowHeaders

PrintDataHeaders

PrintFilterHeaders

PivotGridOptionsPrint Class

PivotGridOptionsPrint Members

DevExpress.XtraPivotGrid Namespace