Class HeaderFooterBandBase
Base class for headers and footers which support the "Keep With Data" and "Repeat on Every Page" features.
Inheritance
Inherited Members
Namespace: FastReport
Assembly: FastReport.OpenSource.dll
Syntax
public class HeaderFooterBandBase : BandBase, IFRSerializable, IParent
Properties
KeepWithData
Gets or sets a value indicating that the band should be printed together with data band.
Declaration
public bool KeepWithData { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RepeatOnEveryPage
Gets or sets a value that determines whether to repeat this band on every page.
Declaration
public bool RepeatOnEveryPage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
When band is repeated, its Repeated property is set to true. You can use it to show any additional information on the band. To do this, use the PrintOn property which can be set to "Rpeeated". In that case the object will be printed only on the repeated band.
Methods
Assign(Base)
Copies the contents of another, similar object.
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source | Source object to copy the contents from. |
Overrides
Remarks
Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is
destination.Assign(source);
which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll(Base) method.
See Also
Serialize(FRWriter)
Serializes the object.
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
Overrides
Remarks
Do not call this method directly. You should override it if you are developing a new component for FastReport.
This method is called when the object needs to save the state. It may happen when:
- saving the report to the file or stream;
- saving the report to the designer's undo buffer;
- assigning the object to another object using the Assign(Base) or AssignAll(Base) methods;
- saving the object to the designer's clipboard;
- saving the object to the preview (when run a report).