XRSubreport.CanShrink Property
Gets or sets a value indicating whether the subreport’s height can decrease if its contents don’t completely fill the control.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the subreport’s height can decrease in order to remove unused space; otherwise, false. |
Remarks
Use the CanShrink property to specify whether the report builder should take into account the height of an XRSubreport control when generating a report. It may be required to take this into account, because usually, the mutual location of any report control is considered when generating a report document. But, as a XRSubreport control actually represents the report itself, the height of a subreport normally should not be taken into account in the generated report document. This property enables this behavior to be controlled in the report builder.