Click or drag to resize

ImageConverterCanConvertFrom Method

Gets a value indicating that this converter can convert from the source type to an image

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
Conversion context
sourceType
Type: SystemType
Type to convert from

Return Value

Type: Boolean
True if this converter can handle converting from the specified sourceType to an image
See Also