Class FilterItem
To represent the collection of items in the column filter popup.
Inheritance
System.Object
FilterItem
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.PivotGrid
Assembly: Syncfusion.SfPivotGrid.UWP.dll
Syntax
public class FilterItem : Object, INotifyPropertyChanged
Constructors
FilterItem()
Declaration
public FilterItem()
Properties
ClickCommand
Gets or sets the command to execute while clicking a node.
Declaration
public PivotCommand ClickCommand { get; set; }
Property Value
Type |
---|
PivotCommand |
IsSelected
Gets or sets the checked state of the filter item.
Declaration
public Nullable<bool> IsSelected { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
SortKey
Gets or sets the SortKey.
Declaration
public IComparable SortKey { get; set; }
Property Value
Type |
---|
System.IComparable |
Text
Gets or sets the text of filter item.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
Equals(Object)
This method is used to compare the text of filter item.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the object and text are null; otherwise, false. |
GetHashCode()
This method is used to get hash code for text of filter item.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Returns a hash code for text of filter item. |
ToString()
This method is used to get string for text of filter item.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Returns empty string if text is null; otherwise, return the text of filter item. |
Events
PropertyChanged
Event that is triggered when the property of the cell is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged