alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FilterItemsCollection

    Class that holds the collection of objects that are filtered.

    Inheritance
    object
    List<FilterItemElement>
    FilterItemsCollection
    Implements
    IList<FilterItemElement>
    ICollection<FilterItemElement>
    IList
    ICollection
    IReadOnlyList<FilterItemElement>
    IReadOnlyCollection<FilterItemElement>
    IEnumerable<FilterItemElement>
    IEnumerable
    Inherited Members
    List<FilterItemElement>.Add(FilterItemElement)
    List<FilterItemElement>.AddRange(IEnumerable<FilterItemElement>)
    List<FilterItemElement>.AsReadOnly()
    List<FilterItemElement>.BinarySearch(FilterItemElement)
    List<FilterItemElement>.BinarySearch(FilterItemElement, IComparer<FilterItemElement>)
    List<FilterItemElement>.BinarySearch(int, int, FilterItemElement, IComparer<FilterItemElement>)
    List<FilterItemElement>.Capacity
    List<FilterItemElement>.Clear()
    List<FilterItemElement>.Contains(FilterItemElement)
    List<FilterItemElement>.ConvertAll<TOutput>(Converter<FilterItemElement, TOutput>)
    List<FilterItemElement>.CopyTo(FilterItemElement[])
    List<FilterItemElement>.CopyTo(FilterItemElement[], int)
    List<FilterItemElement>.CopyTo(int, FilterItemElement[], int, int)
    List<FilterItemElement>.Count
    List<FilterItemElement>.Exists(Predicate<FilterItemElement>)
    List<FilterItemElement>.Find(Predicate<FilterItemElement>)
    List<FilterItemElement>.FindAll(Predicate<FilterItemElement>)
    List<FilterItemElement>.FindIndex(int, int, Predicate<FilterItemElement>)
    List<FilterItemElement>.FindIndex(int, Predicate<FilterItemElement>)
    List<FilterItemElement>.FindIndex(Predicate<FilterItemElement>)
    List<FilterItemElement>.FindLast(Predicate<FilterItemElement>)
    List<FilterItemElement>.FindLastIndex(int, int, Predicate<FilterItemElement>)
    List<FilterItemElement>.FindLastIndex(int, Predicate<FilterItemElement>)
    List<FilterItemElement>.FindLastIndex(Predicate<FilterItemElement>)
    List<FilterItemElement>.ForEach(Action<FilterItemElement>)
    List<FilterItemElement>.GetEnumerator()
    List<FilterItemElement>.GetRange(int, int)
    List<FilterItemElement>.IndexOf(FilterItemElement)
    List<FilterItemElement>.IndexOf(FilterItemElement, int)
    List<FilterItemElement>.IndexOf(FilterItemElement, int, int)
    List<FilterItemElement>.Insert(int, FilterItemElement)
    List<FilterItemElement>.InsertRange(int, IEnumerable<FilterItemElement>)
    List<FilterItemElement>.LastIndexOf(FilterItemElement)
    List<FilterItemElement>.LastIndexOf(FilterItemElement, int)
    List<FilterItemElement>.LastIndexOf(FilterItemElement, int, int)
    List<FilterItemElement>.Remove(FilterItemElement)
    List<FilterItemElement>.RemoveAll(Predicate<FilterItemElement>)
    List<FilterItemElement>.RemoveAt(int)
    List<FilterItemElement>.RemoveRange(int, int)
    List<FilterItemElement>.Reverse()
    List<FilterItemElement>.Reverse(int, int)
    List<FilterItemElement>.Sort()
    List<FilterItemElement>.Sort(Comparison<FilterItemElement>)
    List<FilterItemElement>.Sort(IComparer<FilterItemElement>)
    List<FilterItemElement>.Sort(int, int, IComparer<FilterItemElement>)
    List<FilterItemElement>.this[int]
    List<FilterItemElement>.ToArray()
    List<FilterItemElement>.TrimExcess()
    List<FilterItemElement>.TrueForAll(Predicate<FilterItemElement>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.PivotAnalysis
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class FilterItemsCollection : List<FilterItemElement>, IList<FilterItemElement>, ICollection<FilterItemElement>, IList, ICollection, IReadOnlyList<FilterItemElement>, IReadOnlyCollection<FilterItemElement>, IEnumerable<FilterItemElement>, IEnumerable

    Constructors

    FilterItemsCollection()

    Initializes a new instance of the FilterItemsCollection class.

    Declaration
    public FilterItemsCollection()

    Properties

    AllFilterItem

    Gets or sets the property with all the filter items.

    Declaration
    public FilterItemElement AllFilterItem { get; set; }
    Property Value
    Type
    FilterItemElement

    AllowRunTimeGroupByField

    Gets or sets the value to enable/disable grouping for the filter item. Default value is true.

    Declaration
    public bool AllowRunTimeGroupByField { get; set; }
    Property Value
    Type
    bool

    Comparer

    Gets or sets the comparer of all PivotFields in the Pivot control.

    Declaration
    public IComparer Comparer { get; set; }
    Property Value
    Type
    IComparer

    DisplayHeader

    Gets or sets the header value for the PivotItem.

    Declaration
    public string DisplayHeader { get; set; }
    Property Value
    Type
    string

    FieldCaption

    Gets or sets the caption value for the PivotItem.

    Declaration
    public string FieldCaption { get; set; }
    Property Value
    Type
    string

    FilterProperty

    Gets or sets the filter property.

    Declaration
    public PropertyDescriptor FilterProperty { get; set; }
    Property Value
    Type
    PropertyDescriptor

    FilteredValues

    Gets or sets the filtered values.

    Declaration
    public List<string> FilteredValues { get; set; }
    Property Value
    Type
    List<string>

    Format

    Gets or sets the format for the PivotItem.

    Declaration
    public string Format { get; set; }
    Property Value
    Type
    string

    Name

    Gets or sets the content for the name property.

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    string

    ShowSubTotal

    Gets or sets the value to show/hide sub-totals for the PivotItem. Default value is true.

    Declaration
    public bool ShowSubTotal { get; set; }
    Property Value
    Type
    bool

    Methods

    AcceptChanges()

    Accept the changes in the filter items collection.

    Declaration
    public void AcceptChanges()

    AddIfUnique(FilterItemElement)

    Returns the respective location to add the filter item.

    Declaration
    public int AddIfUnique(FilterItemElement filterItemElement)
    Parameters
    Type Name Description
    FilterItemElement filterItemElement

    Filter item.

    Returns
    Type Description
    int

    Location to add the filter item.

    AddWireEvent(FilterItemElement)

    Add filter item in the collection.

    Declaration
    public void AddWireEvent(FilterItemElement element)
    Parameters
    Type Name Description
    FilterItemElement element

    Filter item.

    GetFilterExpression(bool)

    To get the filter expression from IEnumerable source.

    Declaration
    public string GetFilterExpression(bool IEnumerableSource)
    Parameters
    Type Name Description
    bool IEnumerableSource
    Returns
    Type
    string

    GetFilterExpression(bool, FilterItemsCollection, string)

    Returns the filter expression for the filter items collection from IEnumerable source.

    Declaration
    public string GetFilterExpression(bool IEnumerableSource, FilterItemsCollection filterItemsCollection, string format)
    Parameters
    Type Name Description
    bool IEnumerableSource
    FilterItemsCollection filterItemsCollection
    string format
    Returns
    Type
    string

    GetFilterExpressionForDataView()

    To get the filter expression for DataView source.

    Declaration
    public string GetFilterExpressionForDataView()
    Returns
    Type Description
    string

    Filter expression.

    GetFilterExpressionForDataView(FilterItemsCollection)

    To get the filter expression for DataView source by resolving the formatted date keys against the raw DateTime values, since the DataView cannot compare a DateTime column with a formatted string (for example, MMM, yyyy or dd formats).

    Declaration
    public string GetFilterExpressionForDataView(FilterItemsCollection rawDateTimeItems)
    Parameters
    Type Name Description
    FilterItemsCollection rawDateTimeItems

    The collection holding the raw (unformatted) DateTime keys.

    Returns
    Type Description
    string

    Filter expression.

    GetFilterItem()

    Returns key of the filter item, if the filter items are selected else returns empty string.

    Declaration
    public string GetFilterItem()
    Returns
    Type
    string

    RejectChanges()

    Rejects the changes in filter items collection.

    Declaration
    public void RejectChanges()

    SetName(string)

    Method used to set the name of the filter item.

    Declaration
    public void SetName(string name)
    Parameters
    Type Name Description
    string name

    Name of the filter item.

    Implements

    IList<T>
    ICollection<T>
    IList
    ICollection
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable

    Extension Methods

    CalcEngineHelper.ToArray<T>(IEnumerable<T>)
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved