Class ThemeColorScheme
Represents the color scheme of a theme.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ThemeColorScheme : NamedObjectBase, INamedObject, IEnumerable<ThemeColor>, IEnumerable
Constructors
ThemeColorScheme(String, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color)
Initializes a new instance of the Theme
Declaration
public ThemeColorScheme(string name, Color background1, Color text1, Color background2, Color text2, Color accent1, Color accent2, Color accent3, Color accent4, Color accent5, Color accent6, Color hyperlink, Color followedHyperlink)
Parameters
System. The name. |
System. The first background. |
System. The first text color. |
System. The second background. |
System. The second text color. |
System. The first accent. |
System. The second accent. |
System. The third accent. |
System. The fourth accent. |
System. The fifth accent. |
System. The sixth accent. |
System. The hyperlink color. |
System. The followed hyperlink color. |
Properties
Item[ThemeColorType]
Gets the Theme
Declaration
public ThemeColor this[ThemeColorType colorType] { get; }
Parameters
Theme
|
Property Value
Theme The theme color. |
Methods
Clone()
Creates deep copy of this theme color scheme.
Declaration
public ThemeColorScheme Clone()
Returns
Theme The cloned theme color scheme. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
GetEnumerator()
Declaration
public IEnumerator<ThemeColor> GetEnumerator()
Returns
System.
|
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
Overrides
GetTintAndShade(ThemeColorType, ColorShadeType)
Gets the tint and shade.
Declaration
public double GetTintAndShade(ThemeColorType themeColorType, ColorShadeType colorShadeType)
Parameters
Theme Type of the theme color. |
Color Type of the color shade. |
Returns
System. The tint and shade value. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.
|