Class ThemeFonts
Inheritance
System.Object
ThemeFonts
Namespace: Telerik.Windows.Documents.Model.Themes
Assembly: Telerik.Windows.Documents.dll
Syntax
public class ThemeFonts : Object, ISupportShouldSerialize
Constructors
ThemeFonts()
Declaration
public ThemeFonts()
Properties
IsDefault
Declaration
public bool IsDefault { get; }
Property Value
System.Boolean
|
Major
Declaration
[XamlSerializable("Cambria")]
public FontFamily Major { get; set; }
Property Value
System.Windows.Media.FontFamily
|
Minor
Declaration
[XamlSerializable("Calibri")]
public FontFamily Minor { get; set; }
Property Value
System.Windows.Media.FontFamily
|
Name
Declaration
[XamlSerializable("Office")]
public string Name { get; set; }
Property Value
System.String
|
Methods
GetFont(ThemeFontsEnum, out FontFamily)
Declaration
public bool GetFont(ThemeFontsEnum themeFont, out FontFamily fontFamily)
Parameters
ThemeFontsEnum
themeFont
|
System.Windows.Media.FontFamily
fontFamily
|
Returns
System.Boolean
|
GetThemeFontsEnum(String)
Declaration
public static Nullable<ThemeFontsEnum> GetThemeFontsEnum(string themeFontName)
Parameters
System.String
themeFontName
|
Returns
System.Nullable<ThemeFontsEnum>
|