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 ThemeColorScheme class.
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.String
name
The name. |
System.Windows.Media.Color
background1
The first background. |
System.Windows.Media.Color
text1
The first text color. |
System.Windows.Media.Color
background2
The second background. |
System.Windows.Media.Color
text2
The second text color. |
System.Windows.Media.Color
accent1
The first accent. |
System.Windows.Media.Color
accent2
The second accent. |
System.Windows.Media.Color
accent3
The third accent. |
System.Windows.Media.Color
accent4
The fourth accent. |
System.Windows.Media.Color
accent5
The fifth accent. |
System.Windows.Media.Color
accent6
The sixth accent. |
System.Windows.Media.Color
hyperlink
The hyperlink color. |
System.Windows.Media.Color
followedHyperlink
The followed hyperlink color. |
Properties
Item[ThemeColorType]
Gets the ThemeColor with the specified color type.
Declaration
public ThemeColor this[ThemeColorType colorType] { get; }
Parameters
ThemeColorType
colorType
|
Property Value
ThemeColor
The theme color. |
Methods
Clone()
Creates deep copy of this theme color scheme.
Declaration
public ThemeColorScheme Clone()
Returns
ThemeColorScheme
The cloned theme color scheme. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetEnumerator()
Declaration
public IEnumerator<ThemeColor> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<ThemeColor>
|
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
GetTintAndShade(ThemeColorType, ColorShadeType)
Gets the tint and shade.
Declaration
public double GetTintAndShade(ThemeColorType themeColorType, ColorShadeType colorShadeType)
Parameters
ThemeColorType
themeColorType
Type of the theme color. |
ColorShadeType
colorShadeType
Type of the color shade. |
Returns
System.Double
The tint and shade value. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|