Skip to main content

MultiColumn.ColumnWidth Property

Gets or sets the widths of the columns when printing muli-column reports.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(0F)]
public float ColumnWidth { get; set; }

Property Value

Type Default Description
Single 0

A Single value representing the width of one column in a multicolumn report. This width is measured in report units.

Remarks

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

To learn more about the 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 ColumnWidth 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