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

Represents Fonts provider class.

Definition

Namespace:Telerik.WinForms.Controls.Spreadsheet

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class FontsProvider : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseFontsProvider

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.OnPropertyChanged(PropertyChangedEventArgs)NotifyPropertyChangedBase.PropertyChanged

Properties

FontSizes

IEnumerable<double>

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.