Class StringToColorConverter
String to Color converter.
Implements
Inherited Members
Namespace: EduCATS.Helpers.Forms.Converters
Assembly: EduCATS.dll
Syntax
public class StringToColorConverter : 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 Color. |
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. |