ClassFontFamilyInfoConverter
Class
Provides methods for converting font family information.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class FontFamilyInfoConverter : FontFamilyConverter
Inheritance: objectFontFamilyInfoConverter
Constructors
FontFamilyInfoConverter()
Declaration
cs-api-definition
public FontFamilyInfoConverter()
Methods
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the specified value to a FontFamilyInfo based on the provided context and culture information.
Declaration
cs-api-definition
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
The context that provides contextual information about the conversion.
culture
The culture information that governs the conversion process.
value
The object to be converted.
destinationType
The type to which the object is being converted.
Returns
A FontFamilyInfo object that represents the converted value, or null if the conversion is not possible.