Class ColorExtension
This class contains some extension to the Color class in (SILVERLIGHT).
Inheritance
System.Object
ColorExtension
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public static class ColorExtension : Object
Fields
Black
Contains black color.
Declaration
public static Color Black
Field Value
Type |
---|
System.Drawing.Color |
Blue
Contains blue color.
Declaration
public static Color Blue
Field Value
Type |
---|
System.Drawing.Color |
ChartBackground
Chart background color.
Declaration
public static Color ChartBackground
Field Value
Type |
---|
System.Drawing.Color |
ChartForeground
Chart foreground color.
Declaration
public static Color ChartForeground
Field Value
Type |
---|
System.Drawing.Color |
ChartNeutral
Chart neutral color.
Declaration
public static Color ChartNeutral
Field Value
Type |
---|
System.Drawing.Color |
Cyan
Contains cyan color.
Declaration
public static Color Cyan
Field Value
Type |
---|
System.Drawing.Color |
DarkGray
Contains dark gray color.
Declaration
public static Color DarkGray
Field Value
Type |
---|
System.Drawing.Color |
Empty
Contains empty color.
Declaration
public static Color Empty
Field Value
Type |
---|
System.Drawing.Color |
Gray
Contains gray color.
Declaration
public static Color Gray
Field Value
Type |
---|
System.Drawing.Color |
Magenta
Contains magenta color.
Declaration
public static Color Magenta
Field Value
Type |
---|
System.Drawing.Color |
Red
Contains red color.
Declaration
public static Color Red
Field Value
Type |
---|
System.Drawing.Color |
White
Contains white color.
Declaration
public static Color White
Field Value
Type |
---|
System.Drawing.Color |
Yellow
Contains yellow color.
Declaration
public static Color Yellow
Field Value
Type |
---|
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 |
---|
System.Drawing.Color |