Skip to main content

DetailBand.KeepTogetherWithDetailReports Property

Specifies whether the current Detail band should always be printed on the same page as its child DetailReport band.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v22.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(false)]
[SRCategory(ReportStringId.CatBehavior)]
public bool KeepTogetherWithDetailReports { get; set; }

Property Value

Type Default Description
Boolean false

True to start printing the Detail band and its child DetailReport band at the top of the next page if their content does not fit the current page; false to print as much of the content as possible on the current page and print the rest on the next page.

Remarks

When a page break occurs while the Detail band and its child DetailReport band are being printed, the report continues printing the content on the next page. If the KeepTogetherWithDetailReports property is set to true, the report starts printing the Detail band on the top of the next page, and you can print the Detail bands all on one page. If a band content is longer than one page, the report continues printing on the following page.

See Also