## Aurigma Image Uploader 7.0.35

# GradientColorConverter..::.CanConvertFrom Method (ITypeDescriptorContext, Type)

- Collapse All Sections
- GradientColorConverter Class
- See Also
- Language Filter ( all languages )
- Supported browsers:

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

### Visual Basic

    Public Overrides Function CanConvertFrom ( _
    	context As ITypeDescriptorContext, _
    	sourceType As Type _
    ) As Boolean

### 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.

## See Also

### Reference

- GradientColorConverter Class
- CanConvertFrom Overload
- Aurigma.ImageUploader Namespace