Class DataGridTopLevelGroup
Represents the class that used to maintain the first-level of the Groups present in ICollectionViewAdv. It maintains the data structure for Grouping with ICollectionViewAdv. Iterate the DisplayElements property to get one-to-one mapping of the index with the TopLevelGroup items. Access all the Bottom-level and other nested level groups with the Groups property.
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Data
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class DataGridTopLevelGroup : TopLevelGroup, IDisposable, IEnumerable<NodeEntry>, IEnumerable, IGroupRefresh, IGroupList
Constructors
DataGridTopLevelGroup(SfDataGrid, CollectionViewAdv)
Initializes a new instance of the DataGridTopLevelGroup class.
Declaration
public DataGridTopLevelGroup(SfDataGrid grid, CollectionViewAdv collectionView)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | grid | The grid which is grouped |
CollectionViewAdv | collectionView | The underlying collection view of the group. |
Properties
RelationsCount
Gets the relations count of the group, that link grid and allow navigation from parent grid to child grid.
Declaration
public override int RelationsCount { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
Methods
Dispose(Boolean)
Releases unmanaged and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
Invalidate(Int32, Int32)
Invalidates the particular data row based on the index.
Declaration
public override void Invalidate(int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The row index needs to invalidate. |
System.Int32 | count | The number of rows needs to invalidate. |