Class ChildBand
This class represents a child band.
Inheritance
Inherited Members
Namespace: FastReport
Assembly: FastReport.Base.dll
Syntax
public class ChildBand : BandBase, IFRSerializable, IParent
Remarks
Typical use of child band is to print several objects that can grow or shrink. It also can be done using the shift feature (via ShiftMode property), but in some cases it's not possible.
Properties
CompleteToNRows
Gets or sets a value that determines the overall number of data rows printed by the data band.
Declaration
public int CompleteToNRows { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Using this property, you may complete the data band upto N data rows. If the data band has less number of rows, this band will be used to print empty rows.
FillUnusedSpace
Gets or sets a value indicating that band will be used to fill unused space on a page.
Declaration
public bool FillUnusedSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If you set this property to true, the band will be printed several times to fill unused space on a report page.
PrintIfDatabandEmpty
Gets or sets a value indicating that the band will be printed if its parent databand is empty.
Declaration
public bool PrintIfDatabandEmpty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
The child band with this property set to true, connected to a databand can be used to print "No data" text if the databand has no rows.
Methods
Assign(Base)
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source |
Overrides
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer |