Class
ThemeColor

Maps a theme color category to a concrete color used by a theme’s color scheme.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Theming

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

cs-api-definition
public class ThemeColor

Inheritance: objectThemeColor

Constructors

ThemeColor(Color, ThemeColorType)

Initializes a new instance of the ThemeColor class.

Declaration

cs-api-definition
public ThemeColor(Color color, ThemeColorType themeColorType)

Parameters

color

Color

The color.

themeColorType

ThemeColorType

Type of the theme color.

Properties

Color

Gets the concrete color assigned to this theme color type.

Declaration

cs-api-definition
public Color Color { get; }

Property Value

Color

The color.

ThemeColorType

Gets the theme color category this color represents.

Declaration

cs-api-definition
public ThemeColorType ThemeColorType { get; }

Property Value

ThemeColorType

The type of the theme color.

Methods

Clone()

Create a deep copy of this theme color.

Declaration

cs-api-definition
public ThemeColor Clone()

Returns

ThemeColor

The cloned theme color.

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()