Class ThemeFont
Theme font entry pairing a font family with a language group for major/minor roles.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ThemeFont
Constructors
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
|
System.String
fontName
Name of the font. |
|
FontLanguageType
fontLanguageType
Type of the font language. |
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
|
System.Windows.Media.FontFamily
fontFamily
The font family. |
|
FontLanguageType
fontLanguageType
The type of font language. |
Properties
FontFamily
Gets the font family assigned to this theme font entry.
Declaration
public FontFamily FontFamily { get; }
Property Value
|
System.Windows.Media.FontFamily
The font family. |
FontLanguageType
Gets the language group this theme font targets.
Declaration
public FontLanguageType FontLanguageType { get; }
Property Value
|
FontLanguageType
The type of font language. |
Methods
Equals(Object)
Determines whether the specified object is equal to the current ThemeFont.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The object to compare with the current instance. |
Returns
|
System.Boolean
True if the specified object is a ThemeFont and both the font family and language type are equal; otherwise, false. |
Overrides
GetHashCode()
Returns a hash code for the current ThemeFont.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code that combines the font family and language type, suitable for use in hashing algorithms and data structures. |