Back to Devexpress

GroupBand.Level Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-groupband-5a67f0f5.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(0)]
[SRCategory(ReportStringId.CatBehavior)]
public int Level { get; set; }
vb
<DefaultValue(0)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property Level As Integer

Property Value

TypeDefaultDescription
Int320

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

See Also

Group and Sort the Report Data

GroupBand Class

GroupBand Members

DevExpress.XtraReports.UI Namespace