This documentation is archived and is not being maintained.

PathFigureCollectionConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

Indicates whether an object can be converted from a given type to an instance of a PathFigureCollection.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
You cannot use methods in XAML.


Type: System.ComponentModel.ITypeDescriptorContext

Describes the context information of a type.

Type: System.Type

The source Type that is being queried for conversion support.

Return Value

Type: System.Boolean
true if object of the specified type can be converted to a PathFigureCollection; otherwise, false.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0