Xceed Grid for WinForms v4.3 Documentation
GroupLevels Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > GridReportStyle Class : GroupLevels Property
Gets the report styles of the Xceed.Grid.Groups contained in the report.
Syntax
'Declaration
 
<DescriptionAttribute("The report styles of the same level groups contained in the report.")>
<CategoryAttribute("Appearance")>
<BrowsableAttribute(False)>
Public ReadOnly Property GroupLevels As GroupReportStyleList
'Usage
 
Dim instance As GridReportStyle
Dim value As GroupReportStyleList
 
value = instance.GroupLevels
[Description("The report styles of the same level groups contained in the report.")]
[Category("Appearance")]
[Browsable(false)]
public GroupReportStyleList GroupLevels {get;}

Property Value

A GroupReportStyleList containing a list of GroupReportStyles which will by applied to the same level groups contained in the report.
Remarks

Each GroupReportStyle that is added will affect all groups of the same level. For example, the first style will affect all groups of the first level (index 0). This said, if a report style is desired only for groups of the second level (index 1), an empty GroupReportStyle must first be added for the first level groups (index 0) after which the second GroupReportStyle can be added for the second level groups (index 1).

A group level will inherit the properties of its parent group level in the case where it does not have its own GroupReportStyle, or if properties of its GroupReportStyle have not been explicitly set. For example, if the BackColor property of the first group level's HeaderRow is set to blue, the header rows of any child group levels will also be blue unless the BackColor property of its own GroupReportStyle has been explicitly set.

The GroupLevelCount method should be used to obtain the number of GroupReportStyles rather than the GroupLevels.Count method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridReportStyle Class
GridReportStyle Members