Class ThemeColor
Represents a color in a theme.
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 color.
Declaration
public Color Color { get; }
Property Value
System.Windows.Media.Color
The color. |
ThemeColorType
Gets the type of the theme color.
Declaration
public ThemeColorType ThemeColorType { get; }
Property Value
ThemeColorType
The type of the theme color. |
Methods
Clone()
Creates 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. |