Back to Devexpress

XlsExportOptionsEx.ShowBandHeaders Property

corelibraries-devexpress-dot-xtraprinting-dot-xlsexportoptionsex-a2d58250.md

latest2.7 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

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

|

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:

ControlProperty that defines default behavior
GridControlBandedGridOptionsPrint.PrintBandHeader

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

See Also

BandedLayoutMode

ShowColumnHeaders

XlsExportOptionsEx Class

XlsExportOptionsEx Members

DevExpress.XtraPrinting Namespace