PaletteItem
Class
Palette item
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PaletteItem : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectPaletteItem
Implements:
Inherited Members
Constructors
Create new instance of PaletteItem class.
C#
public PaletteItem()
Create new instance of PaletteItem class.
C#
public PaletteItem(ColorBlend additionalColors)
Colors with positions
Create new instance of PaletteItem class.
C#
public PaletteItem(string name, ColorBlend additionalColors)
Name of item
additionalColorsColorBlendColors with positions
Properties
Defines arrays of colors and positions used for interpolating color blending
C#
[SkinnableProperty]
public ColorBlend AdditionalColors { get; }
Specifies the main color for palette item
C#
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public Color MainColor { get; set; }
Main color of item
Specifies the name for palette item
C#
[SkinnableProperty]
public string Name { get; set; }
Name of item
Specifies the second color for palette item
C#
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public Color SecondColor { get; set; }
Second color of item
Methods
Clone this object
Load data from ViewState
C#
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Save data into ViewState
Gets string representation
Track ViewState
C#
protected override void TrackViewState()
Overrides: