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

XlsExportOptionsEx.ShowBandHeaders Property

Gets or sets whether band headers are visible in the exported document. This option is in effect when exporting from Banded Grid Views if the XlsExportOptionsEx.BandedLayoutMode option is set to Default. Only available in data-aware export mode.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v21.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

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

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

The DefaultBoolean.Default value of the ShowBandHeaders 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 ShowBandHeaders property is overridden and specified by the control’s dedicated property:

Control Property that defines default behavior
GridControl BandedGridOptionsPrint.PrintBandHeader

To specify the column header visibility, see XlsExportOptionsEx.ShowColumnHeaders.

See Also