ClassThemeFont
Theme font entry pairing a font family with a language group for major/minor roles.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Theming
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class ThemeFont
Inheritance: objectThemeFont
Constructors
ThemeFont(FontFamily, FontLanguageType)
Initializes a new instance of the ThemeFont class with a font family and language group.
Declaration
public ThemeFont(FontFamily fontFamily, FontLanguageType fontLanguageType)
Parameters
fontFamily
The font family.
fontLanguageType
The type of font language.
ThemeFont(string, FontLanguageType)
Initializes a new instance of the ThemeFont class from a family name and language group.
Declaration
public ThemeFont(string fontName, FontLanguageType fontLanguageType)
Parameters
fontName
Name of the font.
fontLanguageType
Type of the font language.
Properties
FontFamily
Gets the font family assigned to this theme font entry.
Declaration
public FontFamily FontFamily { get; }
Property Value
The font family.
FontLanguageType
Gets the language group this theme font targets.
Declaration
public FontLanguageType FontLanguageType { get; }
Property Value
The type of font language.
Methods
Equals(object)
Determines whether the specified object is equal to the current ThemeFont.
GetHashCode()
Returns a hash code for the current ThemeFont.
Declaration
public override int GetHashCode()
Returns
A hash code that combines the font family and language type, suitable for use in hashing algorithms and data structures.
Overrides