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