Table of Contents

Method CanConvertFrom

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CanConvertFrom(ITypeDescriptorContext, Type)

Checks whether or not this class can convert from a given type.

public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)

Parameters

typeDescriptorContext ITypeDescriptorContext

The ITypeDescriptorContext for this call.

sourceType Type

The Type being queried for support.

Returns

bool

true if thie converter can convert from the provided type, false otherwise.