Windows apps
Collapse the table of content
Expand the table of content
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.

FontSizeConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

 

Converts a Double value to a specified type.

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

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

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:
© 2017 Microsoft