[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.DataFieldConverter.CanConvertFrom

CanConvertFrom Method

CanConvertFrom(ITypeDescriptorContext, Type)

Gets a value that indicates whether this converter can convert an object in the given source type to a DataField object using the specified context.

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Public Overrides Function CanConvertFrom(context As ITypeDescriptorContext, sourceType As Type) As Boolean
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context.

Type sourceType

A Type that represents the type you wish to convert from.

Returns
Type Description
bool

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

Overrides