WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FilterItemElement

    Show / Hide Table of Contents

    Class FilterItemElement

    Class that holds different filter items.

    Inheritance
    System.Object
    FilterItemElement
    Implements
    System.IComparable
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.PivotAnalysis.Base
    Assembly: Syncfusion.PivotAnalysis.Base.dll
    Syntax
    public class FilterItemElement : IComparable, INotifyPropertyChanged

    Constructors

    FilterItemElement()

    Initializes a new instance of the FilterItemElement class.

    Declaration
    public FilterItemElement()

    Properties

    IsAllFilter

    Gets or sets a value indicating whether the filter item is "(All)" in the FilterPopUp window.

    Declaration
    public bool IsAllFilter { get; set; }
    Property Value
    Type Description
    System.Boolean

    Returns true if the filter item is "(All)"; otherwise, false.

    IsChanged

    Gets or sets the bool value for the changed state.

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

    IsSelected

    Gets or sets the bool value for the selected option.

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

    Key

    Gets or sets the key for the filter item.

    Declaration
    public string Key { get; set; }
    Property Value
    Type Description
    System.String

    SelectedState

    Gets or sets the bool value for the selected state.

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

    Methods

    AcceptChanges()

    To accept the changes in Engine.

    Declaration
    public void AcceptChanges()

    CompareTo(Object)

    To compare the filter items using key.

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Int32

    RejectChanges()

    To reject the changes in Engine.

    Declaration
    public void RejectChanges()

    ToString()

    Converts the data to string datatype.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Events

    PropertyChanged

    Event that is triggered when the property of the cell is changed.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.IComparable
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved