[]
        
(Showing Draft Content)

C1.WPF.C1ZoomUnitTypeConverter.CanConvertFrom

CanConvertFrom Method

CanConvertFrom(ITypeDescriptorContext, Type)

Returns whether the type converter can convert an object from the specified type to the type of this converter.

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type Name Description
ITypeDescriptorContext context

An object that provides a format context.

Type sourceType

The type you want to convert from.

Returns
Type Description
bool

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

Overrides