Class FilterConverter
Converter class for setting the filter path in excel-like filtering.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class FilterConverter : Object, IValueConverter
Constructors
FilterConverter()
Initializes a new instance of the FilterConverter class.
Declaration
public FilterConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Handles to convert the images while filtering.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The source object being passed to the target. |
System.Type | targetType | The type to convert to source of Images. |
System.Object | parameter | The converter parameter to use. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | string contains the path of image source |
ConvertBack(Object, Type, Object, CultureInfo)
Converts a value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value that is produced by the target. |
System.Type | targetType | The type to convert to. |
System.Object | parameter | The converter parameter to use. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | A converted value. If the method returns null, the valid null value is used. |
GetDictionary(Dictionary<String, Boolean>)
Get the dictionary from the "FilterPopup" class, when the filtering can be done.
Declaration
public void GetDictionary(Dictionary<string, bool> filter)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Boolean> | filter | Contains the field names and filter list names when filtering. |
UpdateDictionary(String)
Update the dictionary from "FilterPopup" class, when clearing the filters.
Declaration
public void UpdateDictionary(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Contains the filter list names. |