Table of Contents

Method CanConvertFrom

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

CanConvertFrom(ITypeDescriptorContext, Type)

CanConvertFrom - Returns 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

bool - True if thie converter can convert from the provided type, false if not.