xtrareports-devexpress-dot-xtrareports-dot-ui-dot-groupband-5a67f0f5.md
Gets or sets a value indicating how close this GroupBand object is nested to the DetailBand.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(0)]
[SRCategory(ReportStringId.CatBehavior)]
public int Level { get; set; }
<DefaultValue(0)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property Level As Integer
| 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.
|
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).
See Also