Click or drag to resize

ColorConverterCanConvertFrom Method

Determines if this can convert a value with the type of sourceType to a Color

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context
Type: EtoITypeDescriptorContext
Context of the conversion
sourceType
Type: SystemType
Type to convert from

Return Value

Type: Boolean
True if this can convert to the sourceType, false otherwise
See Also