Class BandColumns
This class holds the band columns settings. It is used in the Columns property.
Inheritance
System.Object
BandColumns
Namespace: FastReport
Assembly: FastReport.Base.dll
Syntax
public class BandColumns
Constructors
BandColumns(DataBand)
Initializes a new instance of the BandColumns class with default settings.
Declaration
public BandColumns(DataBand band)
Parameters
Type | Name | Description |
---|---|---|
DataBand | band |
Properties
Count
Gets or sets the number of columns.
Declaration
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Set this property to 0 or 1 if you don't want to use columns.
Layout
Gets or sets the layout of the columns.
Declaration
public ColumnLayout Layout { get; set; }
Property Value
Type | Description |
---|---|
ColumnLayout |
MinRowCount
Gets or sets the minimum row count that must be printed.
Declaration
public int MinRowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This property is used if the Layout property is set to DownThenAcross. 0 means that FastReport should calculate the optimal number of rows.
Width
The column width, in pixels.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Assign(BandColumns)
Assigns values from another source.
Declaration
public void Assign(BandColumns source)
Parameters
Type | Name | Description |
---|---|---|
BandColumns | source | Source to assign from. |