Skip to main content
A newer version of this page is available. .

XlsExportOptionsEx.ShowColumnHeaders Property

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.v19.1.Core.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean **Default**

A value that specifies whether column headers are visible in the exported document.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

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