New to Telerik UI for WPFStart a free 30-day trial

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)
Parameters:contextITypeDescriptorContext

The context that provides contextual information about the conversion.

cultureCultureInfo

The culture information that governs the conversion process.

valueobject

The object to be converted.

destinationTypeType

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.