Class FilterPopup
This class represents a filter pop-up which is used to filter Pivot elements.
Inheritance
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class FilterPopup : Popup
Constructors
FilterPopup()
Initializes a new instance of the FilterPopup class.
Declaration
public FilterPopup()
FilterPopup(PivotGridControl, FilterItemsCollection)
Constructor that holds the PivotGrid control and collection of filter items.
Declaration
public FilterPopup(PivotGridControl GridControl, FilterItemsCollection filterItemsCollection)
Parameters
Type | Name | Description |
---|---|---|
PivotGridControl | GridControl | The PivotGrid control. |
FilterItemsCollection | filterItemsCollection | The filter list. |
Properties
ButtonApply
Gets or sets the "OK" button instance of filter pop-up, to perform filtering operation.
Declaration
public Button ButtonApply { get; set; }
Property Value
Type |
---|
System.Windows.Controls.Button |
ButtonCancel
Gets or sets the "Cancel" button instance of filter pop-up, to perform filtering operation.
Declaration
public Button ButtonCancel { get; set; }
Property Value
Type |
---|
System.Windows.Controls.Button |
FilterList
Gets or sets the collection of filter items in the filter list-box.
Declaration
public FilterItemsCollection FilterList { get; set; }
Property Value
Type | Description |
---|---|
FilterItemsCollection | The filter list. |
FilterListBox
Gets or sets the collection of filter items into filter list-box of filter pop-up. PivotFields are filtered by checking/unchecking the items in the list-box of filter pop-up.
Declaration
public ListBox FilterListBox { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.ListBox | The filter list-box. |
GridControl
Gets or sets the PivotGrid control.
Declaration
public PivotGridControl GridControl { get; set; }
Property Value
Type | Description |
---|---|
PivotGridControl | The PivotGrid control. |
IsAnyItemSelected
Gets a value indicating whether any item is selected in the filter list.
Declaration
public Nullable<bool> IsAnyItemSelected { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Returns |
IsFilterWindow
Gets or sets a value indicating whether this instance is filter window.
Declaration
public bool IsFilterWindow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Returns |
Methods
GetButton(Button)
This button act as a filter icon of PivotItem and it is used to show filter pop-up when clicking it.
Declaration
public void GetButton(Button button)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Button | button | The filter icon. |