WPF

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

    Show / Hide Table of Contents

    Class ImageConverter

    Converter class for filter and filtered image.

    Inheritance
    System.Object
    ImageConverter
    Implements
    System.Windows.Data.IValueConverter
    Inherited Members
    System.Object.ToString()
    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.Windows.Controls.PivotGrid
    Assembly: Syncfusion.PivotAnalysis.WPF.dll
    Syntax
    public class ImageConverter : 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

    Implements

    System.Windows.Data.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved