Skip to main content

MultiColumn.ColumnSpacing Property

Gets or sets the amount of space between the columns when multi-column reports are printed.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

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

Property Value

Type Default Description
Single 0

A Single value specifying the spacing between the columns. This value is measured in report units.

Remarks

Use this property to specify the amount of space between the columns when they shouldn’t be printed as adjoining. Note that the ColumnSpacing property can be used in every case in which a multicolumn feature is enabled (irrespective of whether or not the MultiColumn.ColumnCount or MultiColumn.ColumnWidth properties are taken into account).

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 ColumnSpacing 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