Back to Devexpress

XlsxExportOptionsEx.AllowCombinedBandAndColumnHeaderCellMerge Property

corelibraries-devexpress-dot-xtraprinting-dot-xlsxexportoptionsex-cafc1671.md

latest2.6 KB
Original Source

XlsxExportOptionsEx.AllowCombinedBandAndColumnHeaderCellMerge Property

Gets or sets whether the headers of the same name are exported as merged cells. 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 AllowCombinedBandAndColumnHeaderCellMerge { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowCombinedBandAndColumnHeaderCellMerge As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

DefaultBoolean.True to export the headers of the same name as merged cells; DefaultBoolean.Default when unspecified and DefaultBoolean.False to not allow header cells to merge.

|

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 following pictures illustrate the effect of the AllowCombinedBandAndColumnHeaderCellMerge property set to DefaultBoolean.True.

Source Data GridExported Document
There are two distinct Photo headers.Photo headers are merged into a single cell.

See Also

XlsxExportOptionsEx Class

XlsxExportOptionsEx Members

DevExpress.XtraPrinting Namespace