Class ColorExtension
This class contains some extension to the Color class in (SILVERLIGHT).
Inheritance
System.Object
ColorExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public static class ColorExtension
Fields
Black
Contains black color.
Declaration
public static Color Black
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Blue
Contains blue color.
Declaration
public static Color Blue
Field Value
Type | Description |
---|---|
System.Drawing.Color |
ChartBackground
Chart background color.
Declaration
public static Color ChartBackground
Field Value
Type | Description |
---|---|
System.Drawing.Color |
ChartForeground
Chart foreground color.
Declaration
public static Color ChartForeground
Field Value
Type | Description |
---|---|
System.Drawing.Color |
ChartNeutral
Chart neutral color.
Declaration
public static Color ChartNeutral
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Cyan
Contains cyan color.
Declaration
public static Color Cyan
Field Value
Type | Description |
---|---|
System.Drawing.Color |
DarkGray
Contains dark gray color.
Declaration
public static Color DarkGray
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Empty
Contains empty color.
Declaration
public static Color Empty
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Gray
Contains gray color.
Declaration
public static Color Gray
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Magenta
Contains magenta color.
Declaration
public static Color Magenta
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Red
Contains red color.
Declaration
public static Color Red
Field Value
Type | Description |
---|---|
System.Drawing.Color |
White
Contains white color.
Declaration
public static Color White
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Yellow
Contains yellow color.
Declaration
public static Color Yellow
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Methods
FromArgb(Int32)
Converts Int32 value into Color.
Declaration
public static Color FromArgb(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Value to convert. |
Returns
Type | Description |
---|---|
System.Drawing.Color | Converted value. |
FromName(String)
Get the color from name
Declaration
public static Color FromName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
System.Drawing.Color |