Determines whether a data type can be converted to a System.Web.UI.WebControls.FontUnit.
- context
- A System.ComponentModel.ITypeDescriptorContext implemented object that provides information about the context of a type converter.
- sourceType
- A Type that represents the data type to check.
true if the data type specified by the sourceType parameter can be converted to a System.Web.UI.WebControls.FontUnit; otherwise, false.
Use the FontUnitConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, Type) method to determine whether the data type specified by the sourceType parameter can be converted to a System.Web.UI.WebControls.FontUnit.
This method will return true only if the sourceType is string. The only type this converter can convert into System.Web.UI.WebControls.FontUnit is string.