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

MultiColumn.Mode Property

Gets or sets the mode in which the multicolumn reports will be printed.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(MultiColumnMode.None)]
public MultiColumnMode Mode { get; set; }

Property Value

Type Default Description
MultiColumnMode None

One of the MultiColumnMode enumeration’s values which specifies the multicolumn mode.

Remarks

Use the Mode property to specify which of the MultiColumn class’s properties should be taken into account when printing multicolumn reports. If this property’s value is set to UseColumnCount, then the MultiColumn.ColumnCount property is taken into account, and the MultiColumn.ColumnWidth property is ignored; if this property’s value is set to UseColumnWidth, then the MultiColumn.ColumnWidth property is taken into account, and the MultiColumn.ColumnCount property is ignored. To disable multicolumn printing the Mode property should be set to None.

Note: If the MultiColumnMode property is set to None, and one of the MultiColumn.ColumnCount or MultiColumn.ColumnWidth property’s value is changed, then the MultiColumnMode is automatically set to either UseColumnCount or UseColumnWidth, correspondingly.

To learn more about using this property in XtraReports see the Creating a Multi-Column Report topic.

See Also