menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataQueryableCollectionViewWrapper - API Reference

    Show / Hide Table of Contents

    Class GridDataQueryableCollectionViewWrapper

    Inheritance
    System.Object
    GridDataQueryableCollectionViewWrapper
    Implements
    IExcelLikeFilterExt
    Namespace: Syncfusion.Windows.Controls.Grid
    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
    Type Description
    System.Boolean

    IsSelectAllFiltered

    Declaration
    public bool? IsSelectAllFiltered { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    TableModel

    Declaration
    public GridDataTableModel TableModel { get; }
    Property Value
    Type Description
    GridDataTableModel

    Methods

    CreateItemPropertiesProvider()

    Declaration
    protected override IPropertyAccessProvider CreateItemPropertiesProvider()
    Returns
    Type Description
    Syncfusion.Windows.Data.IPropertyAccessProvider

    CreateRecordEntry(Object)

    Declaration
    public override RecordEntry CreateRecordEntry(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type Description
    Syncfusion.Windows.Data.RecordEntry

    CreateRecords()

    Declaration
    protected override IRecordsList CreateRecords()
    Returns
    Type Description
    Syncfusion.Windows.Data.IRecordsList

    CreateTopLevelGroup()

    Declaration
    protected override TopLevelGroup CreateTopLevelGroup()
    Returns
    Type Description
    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 Description
    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 Description
    System.Func<System.String, System.Object, System.Object>

    GetMappingNames()

    Declaration
    protected override IEnumerable<string> GetMappingNames()
    Returns
    Type Description
    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 Description
    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 Description
    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

    IExcelLikeFilterExt
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved