Class PagedCollectionRecordsList
Represents the class that maintains the records list when the paged collection is bind as the source to SfDataGrid.
Implements
System.Collections.Generic.IList<RecordEntry>
System.Collections.Generic.ICollection<RecordEntry>
System.Collections.Generic.IEnumerable<RecordEntry>
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.IDisposable
Inherited Members
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.UWP.dll
Syntax
public class PagedCollectionRecordsList : RecordsList, IRecordsList, IRecordsEntryList, IList<RecordEntry>, ICollection<RecordEntry>, IEnumerable<RecordEntry>, IEnumerable, INotifyCollectionChanged, IDisposable
Constructors
PagedCollectionRecordsList(IEnumerable, PagedCollectionView)
Initializes a instance of the PagedCollectionRecordsList class.
Declaration
public PagedCollectionRecordsList(IEnumerable source, PagedCollectionView view)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | source | The IEnumerable source of SfDataGrid. |
PagedCollectionView | view | The paged collection view. |
Methods
GetSource()
Gets the list of source object for the collection view of the records.
Declaration
public override List<object> GetSource()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | The list of source object for the collection view of the records. |
Overrides
PopulateRecords(IEnumerable, CollectionViewAdv)
Populates the records in the given collection view from the given source.
Declaration
protected override void PopulateRecords(IEnumerable source, CollectionViewAdv view)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.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. |
Overrides
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.IDisposable