Class Base64ToImageSourceConverter
Base64 image to ImageSource converter.
Implements
Inherited Members
Namespace: EduCATS.Helpers.Forms.Converters
Assembly: EduCATS.dll
Syntax
public class Base64ToImageSourceConverter : IValueConverter
Methods
Convert(object, Type, object, CultureInfo)
Convert.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | Base64 image string. |
Type | targetType | Target type. |
object | parameter | Parameter. |
CultureInfo | culture | Culture info. |
Returns
Type | Description |
---|---|
object | Converted ImageSource. |
ConvertBack(object, Type, object, CultureInfo)
Convert back.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | Value. |
Type | targetType | Target type. |
object | parameter | Parameter. |
CultureInfo | culture | Culture info. |
Returns
Type | Description |
---|---|
object | Object. |