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::CanConvertTo Method (ITypeDescriptorContext^, Type^)

 

Determines if conversion of a font size value to a specified type is possible.

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

public:
virtual bool CanConvertTo(
	ITypeDescriptorContext^ context,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

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

destinationType
Type: System::Type^

The data type to evaluate for purposes of conversion.

Return Value

Type: System::Boolean

true if this type can be converted; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft