Interface IGroupList
Interface that exposes method to the TopLevelGroup for Add / Remove / Contains / IndexOf methods with the underlying bound object.
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.Portable.dll
Syntax
public interface IGroupList
Remarks
This interface will only interact with the underlying bound object that can be found in Data.
Methods
Add(Object, Boolean)
Adds the specified record to the Top-level group.
Declaration
void Add(object record, bool isInSourceCollectionChange)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record to be added. |
System.Boolean | isInSourceCollectionChange | A boolean value indicating whether the source collection change is currently in progress. |
Contains(Object)
Determines whether the given record is found in the display elements of the TopLevelGroup.
Declaration
bool Contains(object record)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record to be found. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified record is found in the Top-level group, otherwise false. |
IndexOf(Object)
Finds the index of the given record in the top-level group.
Declaration
int IndexOf(object record)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record whose index is to be obtained. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the given record in the top-level group. |
Insert(Object, Int32, Boolean)
Inserts the given record at the specified index in the Top-level group.
Declaration
void Insert(object record, int index, bool isInSourceCollectionChange)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record to be inserted. |
System.Int32 | index | The index at which the record is to be inserted. |
System.Boolean | isInSourceCollectionChange | A boolean value indicating whether the source collection change is currently in progress. |
Remove(Object, Boolean)
Removes the specified record from the Top-level group.
Declaration
int Remove(object record, bool isInSourceCollectionChange)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record to be removed. |
System.Boolean | isInSourceCollectionChange | A boolean value indicating whether the source collection change is currently in progress. |
Returns
Type | Description |
---|---|
System.Int32 | Returns a boolean value indicating whether the given record is removed. |