Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FigureLengthConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the specified FigureLength to the specified type.

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

public override Object ConvertTo(
	ITypeDescriptorContext typeDescriptorContext,
	CultureInfo cultureInfo,
	Object value,
	Type destinationType
)

Parameters

typeDescriptorContext
Type: System.ComponentModel.ITypeDescriptorContext

Describes the context information of a type.

cultureInfo
Type: System.Globalization.CultureInfo

Describes the CultureInfo of the type being converted.

value
Type: System.Object

The FigureLength to convert.

destinationType
Type: System.Type

The type to convert the FigureLength to.

Return Value

Type: System.Object
The object created from converting this FigureLength.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft