Class
FontsProvider

Represents Fonts provider class.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class FontsProvider : NotifyPropertyChangedBase

Inheritance: objectFontsProvider

Properties

FontSizes

Gets the font sizes.

Declaration

cs-api-definition
public IEnumerable<double> FontSizes { get; }

Property Value

IEnumerable<double>

The font sizes.

RegisteredFonts

Gets the registered fonts.

Declaration

cs-api-definition
public IEnumerable<FontFamilyInfo> RegisteredFonts { get; }

Property Value

IEnumerable<FontFamilyInfo>

The registered fonts.

Methods

CreateFontFamilyInfo(ThemableFontFamily, DocumentTheme)

Creates font family info.

Declaration

cs-api-definition
public static FontFamilyInfo CreateFontFamilyInfo(ThemableFontFamily themableFontFamily, DocumentTheme theme)

Parameters

themableFontFamily

ThemableFontFamily

The themable font family.

theme

DocumentTheme

The theme.

Returns

FontFamilyInfo

The font family info.

CreateThemableFontFamily(FontFamilyInfo)

Creates themable font family.

Declaration

cs-api-definition
public static ThemableFontFamily CreateThemableFontFamily(FontFamilyInfo fontFamilyInfo)

Parameters

fontFamilyInfo

FontFamilyInfo

The font family info.

Returns

ThemableFontFamily

The themable font family.