Provides methods for converting font family information.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class FontFamilyInfoConverter : FontFamilyConverter
Inheritance: objectFontFamilyInfoConverter
Constructors
C#
public FontFamilyInfoConverter()
Methods
Converts the specified value to a FontFamilyInfo based on the provided context and culture information.
C#
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
The context that provides contextual information about the conversion.
cultureCultureInfoThe culture information that governs the conversion process.
valueobjectThe object to be converted.
destinationTypeTypeThe 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.