ColorConverter Class |
Note: This API is now obsolete.
Namespace: Eto.Drawing
The ColorConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| ColorConverter | Initializes a new instance of the ColorConverter class |
| Name | Description | |
|---|---|---|
| CanConvertFrom |
Determines if this can convert a value with the type of sourceType to a Color (Overrides TypeConverterCanConvertFrom(ITypeDescriptorContext, Type).) | |
| CanConvertTo |
Determines if this can convert a Color to the destinationType (Overrides TypeConverterCanConvertTo(ITypeDescriptorContext, Type).) | |
| ConvertFrom |
Converts the value to an instance of a Color (Overrides TypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object).) | |
| ConvertTo |
Converts a Color instance to the specified destinationType (Overrides TypeConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).) |