corelibraries-devexpress-dot-xtraprinting-dot-xlsexportoptionsex-7e696366.md
Gets or sets whether column headers are visible in the exported document.Only available in data-aware export mode.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ShowColumnHeaders { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property ShowColumnHeaders As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
A value that specifies whether column headers are visible in the exported document.
|
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
|
The DefaultBoolean.Default value of the ShowColumnHeaders property is equivalent to True , unless it is overridden for a specific control.
The following table shows the controls for which the default behavior of the ShowColumnHeaders property is overridden and specified by the control’s dedicated property:
| Control | Property that defines default behavior |
|---|---|
| GridControl | GridOptionsPrint.PrintHeader |
The ShowColumnHeaders property does not affect the band header visibility, which is controlled by the XlsExportOptionsEx.ShowBandHeaders option.
See Also