Class StringToImageSourceConverter
String to ImageSource converter.
Implements
Inherited Members
Namespace: EduCATS.Helpers.Forms.Converters
Assembly: EduCATS.dll
Syntax
public class StringToImageSourceConverter : 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 | String value. |
Type | targetType | Target type. |
object | parameter | Parameter. |
CultureInfo | culture | Culture info. |
Returns
Type | Description |
---|---|
object | Converter 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. |