alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class ImageConverter

    This converter used to get the image source for image of the KanbanCardItem.

    Inheritance
    System.Object
    ImageConverter
    Implements
    System.Windows.Data.IValueConverter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Kanban
    Assembly: Syncfusion.SfKanban.WPF.dll
    Syntax
    public class ImageConverter : IValueConverter

    Constructors

    ImageConverter()

    Declaration
    public ImageConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Convert image into Uri.

    Declaration
    public object Convert(object value, Type targetType, object parameter, CultureInfo cultureInfo)
    Parameters
    Type Name Description
    System.Object value

    The binding value.

    System.Type targetType

    The type expected by the binding target.

    System.Object parameter

    The optional converter parameter.

    System.Globalization.CultureInfo cultureInfo

    The culture to apply during conversion.

    Returns
    Type Description
    System.Object

    Returns an Uri of image.

    ConvertBack(Object, Type, Object, CultureInfo)

    Converted back its original value.

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo cultureInfo)
    Parameters
    Type Name Description
    System.Object value

    The binding value.

    System.Type targetType

    The type expected by the binding target.

    System.Object parameter

    The optional converter parameter

    System.Globalization.CultureInfo cultureInfo

    The culture to apply during conversion.

    Returns
    Type Description
    System.Object

    The converted value.

    Implements

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