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.Documents.Common.Model.ThemableFontFamily
themableFontFamily
The themable font family. |
Telerik.Documents.Common.Model.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.Documents.Common.Model.ThemableFontFamily
The themable font family. |