Export (0) Print
Expand All

FigureLengthConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

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

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)

public override bool CanConvertFrom (
	ITypeDescriptorContext typeDescriptorContext,
	Type sourceType
)
public boolean CanConvertFrom (
	ITypeDescriptorContext typeDescriptorContext, 
	Type sourceType
)
public override function CanConvertFrom (
	typeDescriptorContext : ITypeDescriptorContext, 
	sourceType : Type
) : boolean
You cannot use methods in XAML.

Parameters

typeDescriptorContext

Describes the context information of a type.

sourceType

The source Type that is being queried for conversion support.

Return Value

true if object of the specified type can be converted to a FigureLength; otherwise, false.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft