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.v18.1.dll

Declaration

[Favorite(true)]
[SRCategory(ReportStringId.CatBehavior)]
public int Level { get; set; }
<Favorite(True)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property Level As Integer

Property Value

Type Description
Int32

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

report-editor-group-bands

See Also