ColorConverterConvertTo Method |
Converts a
Color instance to the specified
destinationType
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
Public Overrides Function ConvertTo (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object,
destinationType As Type
) As Object
abstract ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
override ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
Parameters
- context
- Type: EtoITypeDescriptorContext
Context of the conversion - culture
- Type: System.GlobalizationCultureInfo
Culture to use for the conversion - value
- Type: SystemObject
Color value to convert - destinationType
- Type: SystemType
Type to convert the value to
Return Value
Type:
ObjectAn object of type
destinationType converted from
valueSee Also