Class GridPagedCollectionViewWrapper
Represents the wrapper class that implements the PagedCollectionView to create a QueryableCollectionView based on which data manipulation is performed.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid.DataPager
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class GridPagedCollectionViewWrapper : PagedCollectionView, ICollectionViewAdv, IEnumerable, INotifyPropertyChanged, ISupportInitialize, ISupportIncrementalLoading, IDisposable, IPropertyChangedEventHandler, IEditableCollectionView, INotifyCollectionChanged, IUnboundExpressionFunc, IGridViewNotifier, IFilterExt, IParallelizableView, IPagedCollectionView
Constructors
GridPagedCollectionViewWrapper()
Initializes a new instance of the GridPagedCollectionViewWrapper class.
Declaration
public GridPagedCollectionViewWrapper()
GridPagedCollectionViewWrapper(IEnumerable)
Initializes a new instance of the GridPagedCollectionViewWrapper class using the specified source.
Declaration
public GridPagedCollectionViewWrapper(IEnumerable sender)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | sender | The |
Methods
CreateItemPropertiesProvider()
Creates ItemPropertiesProvider based on the bound data source.
Declaration
protected override ItemPropertiesProvider CreateItemPropertiesProvider()
Returns
Type | Description |
---|---|
ItemPropertiesProvider | Returns the collection of property descriptor. |
Overrides
CreateRecords()
Create records list based on the source provided by view.
Declaration
protected override RecordsList CreateRecords()
Returns
Type | Description |
---|---|
RecordsList | Returns RecordsList. |
Overrides
CreateTopLevelGroup()
Declaration
protected override TopLevelGroup CreateTopLevelGroup()
Returns
Type |
---|
TopLevelGroup |
Overrides
GetDataGrid()
Gets the SfDataGrid present in the view.
Declaration
public override object GetDataGrid()
Returns
Type | Description |
---|---|
System.Object | The reference of the SfDataGrid present in the view. |
Overrides
MoveToPage(Int32)
Moves to the given page index. This method can be used to move to the desired page.
Declaration
public override bool MoveToPage(int pageIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageIndex | The destination page index to be reached. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value denoting whether the page is moved or not. |
Overrides
SetDataGrid(SfDataGrid)
The reference of the SfDataGrid is updated. When view is reused, need to update the grid.
Declaration
public void SetDataGrid(SfDataGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | grid | SfDataGrid instance. |