menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CollectionViewExtensions - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CollectionViewExtensions

    Class that defines the extension methods of the collection view.

    Inheritance
    System.Object
    CollectionViewExtensions
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.Portable.dll
    Syntax
    public static class CollectionViewExtensions : Object

    Methods

    ApplyFilters(CollectionViewAdv, ObservableCollection<IFilterDefinition>, String)

    Applies the filters to the collection view, based on the given collection view, filter predicate and the column name.

    Declaration
    public static void ApplyFilters(this CollectionViewAdv view, ObservableCollection<IFilterDefinition> filterPredicates, string columName)
    Parameters
    Type Name Description
    CollectionViewAdv view

    The collection view.

    System.Collections.ObjectModel.ObservableCollection<IFilterDefinition> filterPredicates

    The filterPredicates helps in create Filter Query.

    System.String columName

    The column name for which filtering is to be applied.

    GetITypedListExpressionFunc(CollectionViewAdv, String)

    Gets the System.ComponentModel.ITypedList expression func for the given values.

    Declaration
    public static Expression<Func<string, object, object>> GetITypedListExpressionFunc(this CollectionViewAdv view, string propertyName)
    Parameters
    Type Name Description
    CollectionViewAdv view

    The collection view.

    System.String propertyName

    The property name for which the func is to be obtained.

    Returns
    Type Description
    System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>>

    The System.ComponentModel.ITypedList expression func for the given values.

    GetITypedListFunc(CollectionViewAdv, String)

    Gets the System.ComponentModel.ITypedList func for the given values.

    Declaration
    public static Func<string, object, object> GetITypedListFunc(this CollectionViewAdv view, string propertyName)
    Parameters
    Type Name Description
    CollectionViewAdv view

    The collection view.

    System.String propertyName

    The property name for which the func is to be obtained.

    Returns
    Type Description
    System.Func<System.String, System.Object, System.Object>

    The System.ComponentModel.ITypedList func for the given values.

    IsITypedListSource(CollectionViewAdv)

    Gets a boolean value indicating whether the given view is a ITypedListSource.

    Declaration
    public static bool IsITypedListSource(this CollectionViewAdv view)
    Parameters
    Type Name Description
    CollectionViewAdv view

    The collection view.

    Returns
    Type Description
    System.Boolean

    A boolean value indicating whether the given view is a ITypedListSource.

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