MultiColumn.Mode Property
Gets or sets the mode in which the multicolumn reports will be printed.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
[DefaultValue(MultiColumnMode.None)]
public MultiColumnMode Mode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Multi |
None | One of the Multi |
Available values:
Name | Description |
---|---|
None | Multicolumn printing is disabled. |
Use |
Multicolumn printing is enabled and uses the Multi |
Use |
Multicolumn printing is enabled and uses the Multi |
#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.