CustomFontConverter
Converts Font objects from one data type to another. The CustomFont converter is used for cases where font is represented in GetCustomFonts() and is not installed on the machine. The standard FontConverter will not be able to deserialize a new Font instance from serialized string.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CustomFontConverter : FontConverter
Inheritance: objectTypeConverterFontConverterCustomFontConverter
Inherited Members
Constructors
public CustomFontConverter()
Methods
Converts the specified object to the native type of the converter.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
cultureCultureInfoA CultureInfo object that specifies the culture used to represent the font.
valueobjectThe object to convert.
Returns:The converted object.
Overrides: