Class QueryableCollectionRecordsList
Represents the class that maintains the records list when the queryable collection is bind as the source to SfDataGrid.
Implements
Inherited Members
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
public class QueryableCollectionRecordsList : RecordsList, IRecordsList, IRecordsEntryList, IList<RecordEntry>, ICollection<RecordEntry>, IEnumerable<RecordEntry>, IEnumerable, INotifyCollectionChanged, IDisposable
Constructors
QueryableCollectionRecordsList(IEnumerable, QueryableCollectionView)
Initializes a new instance of the QueryableCollectionRecordsList class.
Declaration
public QueryableCollectionRecordsList(IEnumerable source, QueryableCollectionView view)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The IEnumerable source. |
| QueryableCollectionView | view | The Queryable collection view. |
Methods
PopulateRecords(IEnumerable, CollectionViewAdv)
Populates the records in the given collection view from the given source.
Declaration
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The InvokeParallel method is not trim compatible")]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling", Justification = "The InvokeParallel method relies on dynamic code generation")]
protected override void PopulateRecords(IEnumerable source, CollectionViewAdv view)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source from which the records is to be populated. |
| CollectionViewAdv | view | The collection view in which the records has to be populated. |