This documentation is for the old version. Go to the latest Upload Suite docs

GradientColorConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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

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

Syntax

Visual Basic
Public Overrides Function CanConvertTo ( _
	context As ITypeDescriptorContext, _
	destinationType As Type _
) As Boolean
C#
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context

Type: System.ComponentModel.ITypeDescriptorContext

The format context.

destinationType

Type: System.Type

The type you want to convert to.

Return Value

Type: System.Boolean

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

See Also

Reference