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: