PaletteItem
Palette item
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PaletteItem : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectPaletteItem
Implements:
Inherited Members
Constructors
Create new instance of PaletteItem class.
public PaletteItem()
Create new instance of PaletteItem class.
public PaletteItem(Color mainColor, Color secondColor)
Main color of item
secondColorColorSecond color of item
Create new instance of PaletteItem class.
public PaletteItem(ColorBlend additionalColors)
Colors with positions
Create new instance of PaletteItem class.
public PaletteItem(string name, Color mainColor, Color secondColor)
Name of item
mainColorColorMain color of item
secondColorColorSecond color of item
Create new instance of PaletteItem class.
public PaletteItem(string name, ColorBlend additionalColors)
Name of item
additionalColorsColorBlendColors with positions
Properties
Defines arrays of colors and positions used for interpolating color blending
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ColorBlend AdditionalColors { get; }
MainColor
Color
Specifies the main color for palette item
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public Color MainColor { get; set; }
Main color of item
Name
string
Specifies the name for palette item
[SkinnableProperty]
public string Name { get; set; }
Name of item
SecondColor
Color
Specifies the second color for palette item
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public Color SecondColor { get; set; }
Second color of item
Methods
Clone()
object
Clone this object
public object Clone()
object
New instance with fields equal to these ones
Load data from ViewState
protected override void LoadViewState(object savedState)
ViewState with 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: