Returns a value indicating whether this converter can convert an object of the given type to the GradientColor type, using the specified context.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

C#

public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context

Type: System.ComponentModel..::..ITypeDescriptorContext

The format context.

sourceType

Type: System..::..Type

The type you want to convert from.

Return Value

Type: System..::..Boolean

true if this converter can perform the conversion; otherwise, false.