ClassPalette
Series color palette. Used for an automatic series items colors assignment
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Palette : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectPalette
Implements:
Inherited Members
Constructors
Palette(string)
Create new instance of Palette class.
Palette(string, ColorBlend[])
Create new instance of Palette class.
Declaration
public Palette(string name, ColorBlend[] addtionalColors)
Parameters
name
Name of Palette
addtionalColors
Additional colors of palette
Palette(string, Color[], Color[])
Create new instance of Palette class.
Palette(string, Color[], bool)
Create new instance of Palette class.
Properties
Items
Gets Palette Items Collection
Declaration
[SkinnableProperty]
public PaletteItemsCollection Items { get; }
Property Value
Name
Specifies the palette name
Declaration
[SkinnableProperty]
public string Name { get; set; }
Property Value
Palette name
this[int]
Gets and sets Palette item at specified index
Declaration
[Browsable(false)]
public PaletteItem this[int index] { get; set; }
Parameters
index
Index to get palette item
Property Value
Palette item at specified index
Methods
Clone()
Clone this object
Declaration
public object Clone()
Returns
New instance with the same fields as this one
Implements
LoadViewState(object)
Load data from ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
ViewState data
Overrides
SaveViewState()
Save data into ViewState
Declaration
protected override object SaveViewState()
Returns
Saved data
Overrides
ToString()
Gets string representation
Declaration
public override string ToString()
Returns
String representation
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides