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