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

Represents Fonts provider class.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class FontsProvider : NotifyPropertyChangedBase

Inheritance: objectFontsProvider

Properties

Gets the font sizes.

C#
public IEnumerable<double> FontSizes { get; }
Property Value:

The font sizes.

Gets the registered fonts.

C#
public IEnumerable<FontFamilyInfo> RegisteredFonts { get; }
Property Value:

The registered fonts.

Methods

Creates font family info.

C#
public static FontFamilyInfo CreateFontFamilyInfo(ThemableFontFamily themableFontFamily, DocumentTheme theme)
Parameters:themableFontFamilyThemableFontFamily

The themable font family.

themeDocumentTheme

The theme.

Returns:

FontFamilyInfo

The font family info.

Creates themable font family.

C#
public static ThemableFontFamily CreateThemableFontFamily(FontFamilyInfo fontFamilyInfo)
Parameters:fontFamilyInfoFontFamilyInfo

The font family info.

Returns:

ThemableFontFamily

The themable font family.