Class ImageConverter
Converter class for filter and filtered image.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class ImageConverter : Object, IValueConverter
Constructors
ImageConverter()
Initializes a new instance of the ImageConverter class.
Declaration
public ImageConverter()
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 by removing the item from it, in the case, when item is dragged and dropped from filter header area to row header area or column header area.
Declaration
public void UpdateDictionary(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |