Class ThemeColor
Maps a theme color category to a concrete color used by a theme’s color scheme.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ThemeColor
Constructors
ThemeColor(Color, ThemeColorType)
Initializes a new instance of the ThemeColor class.
Declaration
public ThemeColor(Color color, ThemeColorType themeColorType)
Parameters
|
System.Windows.Media.Color
color
The color. |
|
ThemeColorType
themeColorType
Type of the theme color. |
Properties
Color
Gets the concrete color assigned to this theme color type.
Declaration
public Color Color { get; }
Property Value
|
System.Windows.Media.Color
The color. |
ThemeColorType
Gets the theme color category this color represents.
Declaration
public ThemeColorType ThemeColorType { get; }
Property Value
|
ThemeColorType
The type of the theme color. |
Methods
Clone()
Create a deep copy of this theme color.
Declaration
public ThemeColor Clone()
Returns
|
ThemeColor
The cloned theme color. |
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |