Class Theme
Inheritance
System.Object
Theme
Namespace: Telerik.Windows.Documents.Model.Themes
Assembly: Telerik.Windows.Documents.dll
Syntax
public class Theme : Object, ISupportShouldSerialize
Constructors
Theme()
Declaration
public Theme()
Theme(String)
Declaration
public Theme(string name)
Parameters
System.String
name
|
Properties
Name
Declaration
[XamlSerializable("Office Theme")]
public string Name { get; set; }
Property Value
System.String
|
ThemeColorMapping
Declaration
[XamlCompositePropertySerializable]
public ThemeColorMapping ThemeColorMapping { get; set; }
Property Value
ThemeColorMapping
|
ThemeColors
Declaration
[XamlCompositePropertySerializable]
public ThemeColors ThemeColors { get; set; }
Property Value
ThemeColors
|
ThemeFonts
Declaration
[XamlCompositePropertySerializable]
public ThemeFonts ThemeFonts { get; set; }
Property Value
ThemeFonts
|
Methods
GetColor(ThemeColorsEnum, out Color)
Declaration
public bool GetColor(ThemeColorsEnum themeColorsEnum, out Color color)
Parameters
ThemeColorsEnum
themeColorsEnum
|
System.Windows.Media.Color
color
|
Returns
System.Boolean
|
GetColorFromHex(String)
Declaration
public static Color GetColorFromHex(string hexValue)
Parameters
System.String
hexValue
|
Returns
System.Windows.Media.Color
|
GetFont(ThemeFontsEnum, out FontFamily)
Declaration
public bool GetFont(ThemeFontsEnum themeFont, out FontFamily fontFamily)
Parameters
ThemeFontsEnum
themeFont
|
System.Windows.Media.FontFamily
fontFamily
|
Returns
System.Boolean
|