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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a Double value to a specified type.

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

public override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

Context information of a component such as its container and PropertyDescriptor.

culture
Type: System.Globalization.CultureInfo

Cultural specific information, including writing system and calendar used.

value
Type: System.Object

The Object being converted.

destinationType
Type: System.Type

The data type this font size value is being converted to.

Return Value

Type: System.Object

A new Object that is the value of the conversion.

.NET Framework
Available since 3.0
Return to top
Show: