Determines whether a class can be converted from a given type to a collection of ShapeConnectionPointPosition objects.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)
Visual Basic (Declaration)
Public Overrides Function CanConvertFrom ( _
	context As ITypeDescriptorContext, _
	sourceType As Type _
) As Boolean

Parameters

context
Type: System.ComponentModel..::.ITypeDescriptorContext
Describes the context information of a type.
sourceType
Type: System..::.Type
The type of the source that is being evaluated for conversion.

Return Value

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

See Also