Class FontsProvider
Represents Fonts provider class.
Inheritance
System.Object
FontsProvider
Namespace: Telerik.Windows.Controls.Spreadsheet
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class FontsProvider : NotifyPropertyChangedBase
Properties
FontSizes
Gets the font sizes.
Declaration
public IEnumerable<double> FontSizes { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Double>
The font sizes. |
RegisteredFonts
Gets the registered fonts.
Declaration
public IEnumerable<FontFamilyInfo> RegisteredFonts { get; }
Property Value
System.Collections.Generic.IEnumerable<FontFamilyInfo>
The registered fonts. |
Methods
CreateFontFamilyInfo(ThemableFontFamily, DocumentTheme)
Creates font family info.
Declaration
public static FontFamilyInfo CreateFontFamilyInfo(ThemableFontFamily themableFontFamily, DocumentTheme theme)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.ThemableFontFamily
themableFontFamily
The themable font family. |
Telerik.Windows.Documents.Spreadsheet.Theming.DocumentTheme
theme
The theme. |
Returns
FontFamilyInfo
The font family info. |
CreateThemableFontFamily(FontFamilyInfo)
Creates themable font family.
Declaration
public static ThemableFontFamily CreateThemableFontFamily(FontFamilyInfo fontFamilyInfo)
Parameters
FontFamilyInfo
fontFamilyInfo
The font family info. |
Returns
Telerik.Windows.Documents.Spreadsheet.Model.ThemableFontFamily
The themable font family. |