The requested page is not available for the requested platform. You are viewing the content for Default platform.

Band.KeepTogether Property

Gets or sets a value which specifies whether a band can be split across pages.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[Favorite(true)]
public override bool KeepTogether { get; set; }
<Favorite(True)>
Public Overrides Property KeepTogether As Boolean

Property Value

Type Default Description
Boolean

false

true to keep the contents of the entire band on a single page; otherwise, false.

Remarks

The KeepTogether property specifies whether the contents of the band can be horizontally split across pages. In other words, if the content of the band is larger than the remaining space on the page, this property specifies whether the band's content should be split across the current page and the next page, or whether the band will be printed in its entirety on the next page. Note, that this property is in effect only when a band's contents don't fit onto the current page.

Note

If the band still can't be printed in it's entirety on the next page (there isn't enough space to keep all the band contents together), then it will be split as though this property's value is set to false.

See Also