Class CollectionViewExtensions
Represents a class that provides the extended support for the collection view.
Inheritance
System.Object
CollectionViewExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.DataGrid.Data
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public static class CollectionViewExtensions
Methods
GetValueExpressionFunc(CollectionViewAdv, GridColumn, DataOperation, DataReflectionMode)
The get value expression function .
Declaration
public static Expression<Func<string, object, object>> GetValueExpressionFunc(this CollectionViewAdv view, GridColumn column, DataOperation operation, DataReflectionMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionViewAdv | view | The view. |
| GridColumn | column | The column. |
| DataOperation | operation | The operation. |
| DataReflectionMode | mode | The mode. |
Returns
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>> | The System.Linq.Expressions.Expression. |
GetValueFunc(CollectionViewAdv, GridColumn, DataOperation, DataReflectionMode)
Return ValueFunc for based on corresponding column and DataOperationMode.
Declaration
public static Func<string, object, object> GetValueFunc(this CollectionViewAdv view, GridColumn column, DataOperation operation, DataReflectionMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionViewAdv | view | The |
| GridColumn | column | The Column that needs to retrieve the value function. |
| DataOperation | operation | The data operation which needs to be performed on the collection view. |
| DataReflectionMode | mode | The data mode of the collection view. |
Returns
| Type | Description |
|---|---|
| System.Func<System.String, System.Object, System.Object> | Returns the ValueFunc for the given data operation of the column. |