Class LegendGradientItemElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.HeatMap
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LegendGradientItemElement : StackLayoutElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
LegendGradientItemElement(Double, Double, String)
Initializes a new instance of the LegendGradientItemElement class.
Declaration
public LegendGradientItemElement(double from, double to, string valueFormat)
Parameters
System.Double
from
The from value. |
System.Double
to
The to value. |
System.String
valueFormat
The value format string. |
Properties
Colors
Gets or sets the gradient colors.
Declaration
public Color[] Colors { get; set; }
Property Value
System.Drawing.Color[]
|
From
Gets or sets the from value.
Declaration
public double From { get; set; }
Property Value
System.Double
|
FromElement
Gets the element that displays the From value.
Declaration
public LegendItemTitle FromElement { get; }
Property Value
LegendItemTitle
|
GradientElement
Gets the element that displays the gradient.
Declaration
public LegendItemGradient GradientElement { get; }
Property Value
LegendItemGradient
|
Positions
Gets or sets the gradient positions. The values need to be from 0 to 1 in ascending order.
Declaration
public float[] Positions { get; set; }
Property Value
System.Single[]
|
To
Gets or sets the to value.
Declaration
public double To { get; set; }
Property Value
System.Double
|
ToElement
Gets the element that displays the To value.
Declaration
public LegendItemTitle ToElement { get; }
Property Value
LegendItemTitle
|
ValueFormat
Gets or sets the text format.
Declaration
public string ValueFormat { get; set; }
Property Value
System.String
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()