Class CustomFontConverter
Converts Font objects from one data type to another.
The CustomFont converter is used for cases where font is represented in Get
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CustomFontConverter : FontConverter
Constructors
CustomFontConverter()
Declaration
public CustomFontConverter()
Methods
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts the specified object to the native type of the converter.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System. 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. |
System. A CultureInfo object that specifies the culture used to represent the font. |
System. The object to convert. |
Returns
System. The converted object. |