Click or drag to resize

TypeConverterCanConvertFrom Method (ITypeDescriptorContext, Type)

Determines whether this instance can convert from the specified context sourceType.

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

Parameters

context
Type: EtoITypeDescriptorContext
Context.
sourceType
Type: SystemType
Source type.

Return Value

Type: Boolean
true if this instance can convert from the specified context sourceType; otherwise, false.
See Also