Table of Contents

Method CanConvertTo

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

CanConvertTo(ITypeDescriptorContext?, Type?)

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

public override bool CanConvertTo(ITypeDescriptorContext? typeDescriptorContext, Type? destinationType)

Parameters

typeDescriptorContext ITypeDescriptorContext
destinationType Type

A Type that represents the type you want to convert to.

Returns

bool

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