Class GridDataQueryableCollectionViewWrapper
Inheritance
System.Object
GridDataQueryableCollectionViewWrapper
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataQueryableCollectionViewWrapper : QueryableCollectionView, IExcelLikeFilterExt
Constructors
GridDataQueryableCollectionViewWrapper(IEnumerable, GridDataTableModel, Func<Object, ICollectionViewAdv, RecordEntry>)
Declaration
public GridDataQueryableCollectionViewWrapper(IEnumerable source, GridDataTableModel tableModel, Func<object, ICollectionViewAdv, RecordEntry> createRecordFunc)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
source |
|
GridDataTableModel |
tableModel |
|
System.Func<System.Object, Syncfusion.Windows.Data.ICollectionViewAdv, Syncfusion.Windows.Data.RecordEntry> |
createRecordFunc |
|
Properties
IsExcelLikeFilter
Declaration
public bool IsExcelLikeFilter { get; set; }
Property Value
IsSelectAllFiltered
Declaration
public Nullable<bool> IsSelectAllFiltered { get; set; }
Property Value
Type |
System.Nullable<System.Boolean> |
TableModel
Declaration
public GridDataTableModel TableModel { get; }
Property Value
Methods
CreateItemPropertiesProvider()
Declaration
protected override IPropertyAccessProvider CreateItemPropertiesProvider()
Returns
Type |
Syncfusion.Windows.Data.IPropertyAccessProvider |
CreateRecordEntry(Object)
Declaration
public override RecordEntry CreateRecordEntry(object data)
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns
Type |
Syncfusion.Windows.Data.RecordEntry |
CreateRecords()
Declaration
protected override IRecordsList CreateRecords()
Returns
Type |
Syncfusion.Windows.Data.IRecordsList |
CreateTopLevelGroup()
Declaration
protected override TopLevelGroup CreateTopLevelGroup()
Returns
Type |
Syncfusion.Windows.Data.TopLevelGroup |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
ExcelFilterPredicates(IQueryable, out Expression, out ParameterExpression, String)
To Create the predicate for Excel Like Check box filter
Declaration
public void ExcelFilterPredicates(IQueryable source, out Expression predicate, out ParameterExpression paramExpression, string columnName)
Parameters
Type |
Name |
Description |
System.Linq.IQueryable |
source |
Item Source
|
System.Linq.Expressions.Expression |
predicate |
Expression
|
System.Linq.Expressions.ParameterExpression |
paramExpression |
ParameterExpression
|
System.String |
columnName |
|
GetColumnPredicateExpression(IQueryable, out Expression, out ParameterExpression, GridDataVisibleColumn)
Declaration
public void GetColumnPredicateExpression(IQueryable source, out Expression predicate, out ParameterExpression paramExpression, GridDataVisibleColumn column)
Parameters
Type |
Name |
Description |
System.Linq.IQueryable |
source |
|
System.Linq.Expressions.Expression |
predicate |
|
System.Linq.Expressions.ParameterExpression |
paramExpression |
|
GridDataVisibleColumn |
column |
|
GetExpressionFunc(String)
Declaration
public override Expression<Func<string, object, object>> GetExpressionFunc(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>> |
GetFunc(String)
Declaration
public override Func<string, object, object> GetFunc(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
System.Func<System.String, System.Object, System.Object> |
GetMappingNames()
Declaration
protected override IEnumerable<string> GetMappingNames()
Returns
Type |
System.Collections.Generic.IEnumerable<System.String> |
GetTypeExpressionFunc(String)
Declaration
public override Expression<Func<string, object, object>> GetTypeExpressionFunc(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>> |
GetTypeFunc(String)
Declaration
public override Func<string, object, object> GetTypeFunc(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
System.Func<System.String, System.Object, System.Object> |
OnTopLevelGroupPopulated(TopLevelGroup)
Declaration
protected override void OnTopLevelGroupPopulated(TopLevelGroup topLevelGroup)
Parameters
Type |
Name |
Description |
Syncfusion.Windows.Data.TopLevelGroup |
topLevelGroup |
|
RefreshFilters()
To handle the Excel Like Check box filtering.
Declaration
public override void RefreshFilters()
Implements