Class GradientElement
Gradient element
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class GradientElement : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Constructors
GradientElement()
Create new instance of GradientElement class.
Declaration
public GradientElement()
GradientElement(Color, Single)
Create new instance of GradientElement class.
Declaration
public GradientElement(Color color, float position)
Parameters
System.Drawing.Color
color
Color |
System.Single
position
Position |
Properties
Color
Gets and sets Color
Declaration
[SkinnableProperty]
public Color Color { get; set; }
Property Value
System.Drawing.Color
Color |
Position
Gets and sets Position
Declaration
[SkinnableProperty]
public float Position { get; set; }
Property Value
System.Single
Position |
Methods
Clone()
Clone this object.
Declaration
public object Clone()
Returns
System.Object
New instance of GradientElement class with the same fields as this one |
Implements
Equals(Object)
Comparing to objects
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object for comparing |
Returns
System.Boolean
Whether objects are equal or not |
Overrides
GetHashCode()
Gets hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Hash code |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|