GroupBand.Level Property
Gets or sets a value indicating how close this GroupBand object is nested to the DetailBand.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v21.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | An integer value indicating the relative position of the GroupBand objects in reference to the DetailBand object’s position in a report. |
Remarks
Use the Level property to change the order of grouping levels in a report. This grouping order depends on the positional relationship of GroupBand objects and a DetailBand object. A value equal to 0 represents the closest position of the GroupBand to the DetailBand. The greater this value the further apart these bands are positioned from each other.
A pair of GroupHeaderBand and GroupFooterBand objects which have the same value for their Level properties belong to the same data group.
You can customize the level of a group header independently of the corresponding footer (and vice versa) using the Report Editor (invoked by clicking Edit and Reorder Bands… in the report’s smart tag).