This class encapsulates a color structure. The color can be retrieved by explicitly or implicitly converting a ColorItem to color or by using the col property.
Inheritance Hierarchy
WinnovativeColorItem
Namespace: Winnovative
Assembly: Winnovative.WebChart (in Winnovative.WebChart.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The ColorItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ColorItem |
Initializes a new instance of the ColorItem class. Default value is Color.Red.
| |
ColorItem(Color) |
Initializes a new instance of the ColorItem class with the specified color.
| |
ColorItem(String) |
Initializes a new instance of the ColorItem class with the specified color.
|
Properties
Name | Description | |
---|---|---|
Color |
Gets or sets the color encapsulated by the ColorItem object.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides ObjectToString.) |
Operators
Name | Description | |
---|---|---|
(ColorItem to Color) |
Implicit conversion to a Color structure.
|
See Also