Skip to main content

MappingConverter.CanConvertFrom(ITypeDescriptorContext, Type) Method

Determines whether the converter can convert the specified type to Mapping.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

Declaration

public override bool CanConvertFrom(
    ITypeDescriptorContext context,
    Type sourceType
)

Parameters

Name Type Description
context ITypeDescriptorContext

Describes the context information of a type.

sourceType Type

The type that the converter should convert to Mapping.

Returns

Type Description
Boolean

true, if the converter can convert the specified type to an instance of Mapping; otherwise, false.

See Also