Class NoneColor
Represents the color object of SVG DOM.
Inheritance
System.Object
NoneColor
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class NoneColor : ValueType
Constructors
NoneColor(Color)
Initializes a new instance of the NoneColor class.
Declaration
public NoneColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Color | color | The color. |
NoneColor(String)
Initializes a new instance of the NoneColor class.
Declaration
public NoneColor(string color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | color | The color. |
Properties
Color
Gets the color.
Declaration
public Color Color { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color | The color. |
IsNone
Gets a value indicating whether this instance is none.
Declaration
public bool IsNone { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Primaty
Gets the primaty value.
Declaration
public string Primaty { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The primaty value. |
Methods
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A System.String containing a fully qualified type name. |
Operators
Implicit(Color to NoneColor)
Performs an implicit conversion from System.Drawing.Color to NoneColor.
Declaration
public static implicit operator NoneColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Color | color | The color. |
Returns
| Type | Description |
|---|---|
| NoneColor | The result of the conversion. |
Implicit(String to NoneColor)
Performs an implicit conversion from System.String to NoneColor.
Declaration
public static implicit operator NoneColor(string color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | color | The color. |
Returns
| Type | Description |
|---|---|
| NoneColor | The result of the conversion. |