Skip to main content
A newer version of this page is available. .

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

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