Class GridVirtualizingCollectionView
Represents a class that maintains the common functionalities of Virtualizingcollectionview in SfDataGrid.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridVirtualizingCollectionView : VirtualizingCollectionView, ICollectionViewAdv, ICollectionView, IObservableVector<object>, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, INotifyPropertyChanged, ISupportInitialize, IDisposable, IPropertyChangedEventHandler, IEditableCollectionView, IUnboundExpressionFunc, IGridViewNotifier, IFilterExt, IParallelizableView
Constructors
GridVirtualizingCollectionView()
Initializes a new instance of GridVirtualizingCollectionView class.
Declaration
public GridVirtualizingCollectionView()
GridVirtualizingCollectionView(IEnumerable)
Initializes a new instance of GridVirtualizingCollectionView with a specified System.Collections.IEnumerable source.
Declaration
public GridVirtualizingCollectionView(IEnumerable source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.IEnumerable | source |
GridVirtualizingCollectionView(IEnumerable, SfDataGrid)
Initializes a new instance of GridVirtualizingCollectionView class with specified SfDataGrid and System.Collections.IEnumerable source.
Declaration
public GridVirtualizingCollectionView(IEnumerable source, SfDataGrid grid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.IEnumerable | source | |
| SfDataGrid | grid |
Fields
dataGrid
Declaration
protected SfDataGrid dataGrid
Field Value
| Type |
|---|
| SfDataGrid |
Methods
AttachGridView(Object)
Sets the Grid in the view.
Declaration
public override void AttachGridView(object dataGrid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | dataGrid | The SfDatagrid. |
Overrides
CanUpdateSummary(ISummaryRow, String)
Checks whether the property changes affect the corresponding SummaryRow of UpboundCoulmn
Declaration
protected override bool CanUpdateSummary(ISummaryRow row, string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| ISummaryRow | row | row |
| System.String | propertyName | propertyName |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the corresponding propertyName is corresponding SummaryRow of UpboundCoulmn |
Overrides
CreateItemPropertiesProvider()
Creates the item properties provider.
Declaration
protected override ItemPropertiesProvider CreateItemPropertiesProvider()
Returns
| Type | Description |
|---|---|
| ItemPropertiesProvider | The item properties provider. |
Overrides
CreateTopLevelGroup()
Creates a TopLevelGroup.
Declaration
protected override sealed TopLevelGroup CreateTopLevelGroup()
Returns
| Type | Description |
|---|---|
| TopLevelGroup | A GridVirtualizingTopLevelGroup |
Overrides
DetachGridView()
Releases all the datagrids in view.
Declaration
public override void DetachGridView()
Overrides
Dispose(Boolean)
Disposes all the resources used by the GridVirtualizingCollectionView class.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
GetDataGrid()
Gets the SfDataGrid.
Declaration
public override object GetDataGrid()
Returns
| Type | Description |
|---|---|
| System.Object | The SfDataGrid. |
Overrides
GetDisplayValueFunc(String, DataOperation)
Gets the display value Func.
Declaration
public override Func<string, object, object> GetDisplayValueFunc(string propertyName, DataOperation operation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | The Specified property name. |
| DataOperation | operation | The Data operation. |
Returns
| Type | Description |
|---|---|
| System.Func<System.String, System.Object, System.Object> | The display value Func. |
Overrides
GetExpressionFunc(String, DataOperation, DataReflectionMode)
Returns Expression func for corresponding Dataoperation and Property Name.
Declaration
public override Expression<Func<string, object, object>> GetExpressionFunc(string propertyName, DataOperation operation, DataReflectionMode reflectionMode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | propertyName |
| DataOperation | operation | Data operation |
| DataReflectionMode | reflectionMode | Reflection Mode |
Returns
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>> | ExpressionFunc |
Overrides
GetFunc(String, DataOperation, DataReflectionMode)
Returns func for corresponding Dataoperation and Property Name.
Declaration
public override Func<string, object, object> GetFunc(string propertyName, DataOperation operation, DataReflectionMode reflectionMode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | Property Name |
| DataOperation | operation | Data operation |
| DataReflectionMode | reflectionMode | Data Reflection mode |
Returns
| Type | Description |
|---|---|
| System.Func<System.String, System.Object, System.Object> | Func |
Overrides
RaiseExceptionThrownEvent(Exception)
Raises the ExceptionThrown event.
Declaration
protected override void RaiseExceptionThrownEvent(Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | e |