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

MultiColumn.ColumnCount Property

Gets or sets how many columns are present in each detail band when multicolumn printing is enabled.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[DefaultValue(1)]
public int ColumnCount { get; set; }

Property Value

Type Default Description
Int32 1

An integer value specifying the number of columns. The value should be equal to or greater than 1.

Remarks

The multicolumn feature is enabled if the ColumnCount property’s value is greater than 1 and the MultiColumn.Mode property’s value is set to the UseColumnCount value. Note that the ColumnCount property’s value is ignored if the MultiColumn.Mode property is set to a value other than UseColumnCount.

To learn more about multicolumn representation of reports see the Creating a Multi-Column Report topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also