GradientElement
Class
Gradient element
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
C#
public class GradientElement : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectGradientElement
Implements:
Inherited Members
Constructors
Create new instance of GradientElement class.
C#
public GradientElement()
Create new instance of GradientElement class.
C#
public GradientElement(Color color, float position)
Color
positionfloatPosition
Properties
Color
Color
Gets and sets Color
C#
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public Color Color { get; set; }
Color
Position
float
Gets and sets Position
C#
[SkinnableProperty]
public float Position { get; set; }
Position
Methods
Clone()
object
Clone this object.
C#
public object Clone()
object
New instance of GradientElement class with the same fields as this one
Equals(object)
bool
Comparing to objects
C#
public override bool Equals(object obj)
Object for comparing
Returns:bool
Whether objects are equal or not
Overrides:
Gets hash code
C#
public override int GetHashCode()
int
Hash code
Overrides:
ToString()
string
ToString() override. Used in the properties grid to avoid object type showing.
C#
public override string ToString()
string
Empty string
Overrides: