Class GridQueryableCollectionViewWrapper
Represents the wrapper class that implements the QueryableCollectionView to create a queryable collection based on which data manipulation is performed.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class GridQueryableCollectionViewWrapper : QueryableCollectionView, ICollectionViewAdv, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, ISupportInitialize, IDisposable, IPropertyChangedEventHandler, IEditableCollectionView, ISupportIncrementalLoading, IUnboundExpressionFunc, IGridViewNotifier, IFilterExt, IParallelizableView
Constructors
GridQueryableCollectionViewWrapper(IEnumerable, SfDataGrid)
Initializes a new instance of the GridQueryableCollectionViewWrapper class with the specified values.
Declaration
public GridQueryableCollectionViewWrapper(IEnumerable source, SfDataGrid grid)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | source | The item source of the collection. |
SfDataGrid | grid | The reference of the SfDataGrid. |
Methods
CreateItemPropertiesProvider()
Method to create the item properties provider for the GridQueryableCollectionViewWrapper.
Declaration
protected override ItemPropertiesProvider CreateItemPropertiesProvider()
Returns
Type | Description |
---|---|
ItemPropertiesProvider | Returns the item properties provider for the GridQueryableCollectionViewWrapper. |
Overrides
CreateRecords()
Create records list based on the source provided by view.
Declaration
protected override RecordsList CreateRecords()
Returns
Type | Description |
---|---|
RecordsList | Returns RecordsList. |
Overrides
Remarks
Creates Syncfusion.Data.VirtualRecordsList when EnableDataVirtualization is true.
CreateTopLevelGroup()
Creates TopLevelGroup while grouping for view.
Declaration
protected override TopLevelGroup CreateTopLevelGroup()
Returns
Type | Description |
---|---|
TopLevelGroup | Returns TopLevelGroup. |
Overrides
Remarks
Creates Syncfusion.SfDataGrid.GridVirtualizingTopLevelGroup when EnableDataVirtualization is true.
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
Overrides
GetDataGrid()
Gets the reference of the DataGrid in the view.
Declaration
public override object GetDataGrid()
Returns
Type | Description |
---|---|
System.Object | The reference of the DataGrid in the view. |
Overrides
GetExpressionFunc(String, DataOperation, DataReflectionMode)
Returns Expression Func for the property, data operation and reflection mode.
Declaration
public override Expression<Func<string, object, object>> GetExpressionFunc(string propertyName, DataOperation operation, DataReflectionMode reflectionMode)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name which has changed. |
DataOperation | operation | The DataOperation which indicates the data operations (sorting, grouping, etc) performed in the underlying collection. |
DataReflectionMode | reflectionMode | The DataReflectionMode which indicates the mode of data change specifying either in display mode, value mode or mapping name. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>> | Expression Func for the given property, data operation and the reflection mode. |
Overrides
GetFunc(String, DataOperation, DataReflectionMode)
Returns Func for the given property, data operation and the reflection mode.
Declaration
public override Func<string, object, object> GetFunc(string propertyName, DataOperation operation, DataReflectionMode reflectionMode)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name which has changed. |
DataOperation | operation | The DataOperation which indicates the data operations (sorting, grouping, etc) performed in the underlying collection. |
DataReflectionMode | reflectionMode | The DataReflectionMode which indicates the mode of data change specifying either in display mode, value mode or mapping name. |
Returns
Type | Description |
---|---|
System.Func<System.String, System.Object, System.Object> | Func for the given property, data operation and the reflection mode. |