Click or drag to resize

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
)

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: Object
An object of type destinationType converted from value
See Also