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 override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType


Type: System.ComponentModel.ITypeDescriptorContext

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

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
© 2015 Microsoft