Class
FontFamilyInfoConverter

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

ITypeDescriptorContext

The context that provides contextual information about the conversion.

culture

CultureInfo

The culture information that governs the conversion process.

value

object

The object to be converted.

destinationType

Type

The type to which the object is being converted.

Returns

object

A FontFamilyInfo object that represents the converted value, or null if the conversion is not possible.