FontFamilyConverter
Converts string values into FontFamily instances using that type's font-resolution behavior.
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class FontFamilyConverter : TypeConverter
Inheritance: objectTypeConverterFontFamilyConverter
Inherited Members
Constructors
Initializes the converter registered on FontFamily.
public FontFamilyConverter()
Methods
Determines whether this converter supports converting from the specified source type.
public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
The conversion context, which this converter does not use.
tTypeThe source type to test.
Returns:Overrides:
Creates a FontFamily from a string and delegates other input types to the base converter.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object o)
The conversion context, which this converter does not use.
cultureInfoCultureInfoThe culture, which this converter does not use.
oobjectThe font-family name to convert.
Returns:The resolved FontFamily when o is a string.
Overrides: