Class ImagePathToImageSourceConverter
Converts the physical path of an image file to ImageSource
Inheritance
Object
ImagePathToImageSourceConverter
Implements
IValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Converters
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class ImagePathToImageSourceConverter
Constructors
ImagePathToImageSourceConverter()
Converts the physical path of an image file to ImageSource
Declaration
public ImagePathToImageSourceConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the physical path of an image file to ImageSource
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | |
Type | targetType | |
Object | parameter | |
CultureInfo | culture |
Returns
Type | Description |
---|---|
Object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the physical path of an image file to ImageSource
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | |
Type | targetType | |
Object | parameter | |
CultureInfo | culture |
Returns
Type | Description |
---|---|
Object |
Implements
System.Windows.Data.IValueConverter