Class ThemeColorScheme
Represents the color scheme of a theme.
Inherited Members
Namespace: Telerik.WinForms.Documents.Spreadsheet.Theming
Assembly: Telerik.WinControls.RichTextEditor.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. |
|
Color
background1
The first background. |
|
Color
text1
The first text color. |
|
Color
background2
The second background. |
|
Color
text2
The second text color. |
|
Color
accent1
The first accent. |
|
Color
accent2
The second accent. |
|
Color
accent3
The third accent. |
|
Color
accent4
The fourth accent. |
|
Color
accent5
The fifth accent. |
|
Color
accent6
The sixth accent. |
|
Color
hyperlink
The hyperlink color. |
|
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
|