Xceed Grid for WinForms v4.3 Documentation
Groups Property (GridControl)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : Groups Property
Gets a list of all the groups contained within the grid once it has has been built.
Syntax
'Declaration
 
<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

Public ReadOnly Property Groups As ReadOnlyGroupList
'Usage
 
Dim instance As GridControl

Dim value As ReadOnlyGroupList

 

value = instance.Groups
[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

public ReadOnlyGroupList Groups {get;}

Property Value

A reference to a Xceed.Grid.Collections.GroupList object representing all the groups contained within the grid once it has has been built.
Remarks

Each group in each level is created according to its cooresponding template in the grid's collection of GroupTemplates. For example, if there are two groups in the grid's collection of GroupTemplates, then there will be two levels of groups. If the background color of the first group in the GroupTemplates is set to pink and the second's to blue, then all the groups of the first level will have a background color of pink while all the groups of the second level will have a background color of blue.

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

GridControl Class
GridControl Members
GroupTemplates Property