DocumentTheme
Container for a document’s theme, combining a color scheme and font scheme used to resolve themable values.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Theming
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class DocumentTheme : NamedObjectBase, INamedObject
Inheritance: objectNamedObjectBaseDocumentTheme
Implements:
Inherited Members
Constructors
Initializes a new instance of the DocumentTheme class.
public DocumentTheme(string name, ThemeColorScheme colorScheme, ThemeFontScheme fontScheme)
The name.
colorSchemeThemeColorSchemeThe color scheme.
fontSchemeThemeFontSchemeThe font scheme.
Methods
Creates a deep copy of the theme, duplicating the color and font schemes.
Determines whether the specified object is equal to this theme.
public override bool Equals(object obj)
The object to compare with the current theme.
Returns:True if the specified object is a DocumentTheme with the same name, color scheme, and font scheme; otherwise, false.
Overrides:
Returns a hash code for this theme based on its name, color scheme, and font scheme.
Properties
Gets the color scheme that maps theme color categories to concrete colors used across the document.
public ThemeColorScheme ColorScheme { get; }
The color scheme.
Gets the font scheme that provides major/minor fonts for different language groups.
public ThemeFontScheme FontScheme { get; }
The font scheme.