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 |
|
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.