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 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. |
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 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.
|