New to Telerik UI for WinForms? Start a free 30-day trial

Represents the font in a theme.

Definition

Namespace:Telerik.WinForms.Documents.Spreadsheet.Theming

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ThemeFont

Inheritance: objectThemeFont

Constructors

Initializes a new instance of the ThemeFont class.

C#
public ThemeFont(FontFamily fontFamily, FontLanguageType fontLanguageType)
Parameters:fontFamilyFontFamily

The font family.

fontLanguageTypeFontLanguageType

The type of font language.

Initializes a new instance of the ThemeFont class.

C#
public ThemeFont(string fontName, FontLanguageType fontLanguageType)
Parameters:fontNamestring

Name of the font.

fontLanguageTypeFontLanguageType

Type of the font language.

Properties

Gets the font family.

C#
public FontFamily FontFamily { get; }
Property Value:

The font family.

Gets the type of the font language.

C#
public FontLanguageType FontLanguageType { get; }
Property Value:

The type of font language.

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()