Skip to main content
A newer version of this page is available. .

PageBand.PrintOn Property

Specifies whether the PageBand should be printed on the same page with Report Header and Report Footer bands.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(PrintOnPages.AllPages)]
public PrintOnPages PrintOn { get; set; }

Property Value

Type Default Description
PrintOnPages **AllPages**

A PrintOnPages enumeration value, which specifies the method of printing the PageBand.

Available values:

Name Description
AllPages

A band is printed on all report pages in the ordinary manner.

NotWithReportHeader

A band is hidden if a page contains a Report Header.

NotWithReportFooter

A band is hidden if a page contains a Report Footer.

NotWithReportHeaderAndReportFooter

A band is hidden if a page contains a Report Header or Report Footer.

Remarks

Use the PrintOn property to specify whether the PageHeaderBand or PageFooterBand should be printed on the first page (on the same page with the ReportHeaderBand) or on the last page (on the same page with the ReportFooterBand).

Note that if the PageHeaderBand’s PrintOn property returns the PrintOnPages.NotWithReportFooter value, the empty space from the PageHeaderBand would be maintained on the last page.

See Also