Class PaletteItem
Palette item
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class PaletteItem : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Constructors
PaletteItem()
Create new instance of PaletteItem class.
Declaration
public PaletteItem()
PaletteItem(Color, Color)
Create new instance of PaletteItem class.
Declaration
public PaletteItem(Color mainColor, Color secondColor)
Parameters
System.Drawing.Color
mainColor
Main color of item |
System.Drawing.Color
secondColor
Second color of item |
PaletteItem(String, Color, Color)
Create new instance of PaletteItem class.
Declaration
public PaletteItem(string name, Color mainColor, Color secondColor)
Parameters
System.String
name
Name of item |
System.Drawing.Color
mainColor
Main color of item |
System.Drawing.Color
secondColor
Second color of item |
PaletteItem(String, ColorBlend)
Create new instance of PaletteItem class.
Declaration
public PaletteItem(string name, ColorBlend additionalColors)
Parameters
System.String
name
Name of item |
ColorBlend
additionalColors
Colors with positions |
PaletteItem(ColorBlend)
Create new instance of PaletteItem class.
Declaration
public PaletteItem(ColorBlend additionalColors)
Parameters
ColorBlend
additionalColors
Colors with positions |
Properties
AdditionalColors
Defines arrays of colors and positions used for interpolating color blending
Declaration
[SkinnableProperty]
public ColorBlend AdditionalColors { get; }
Property Value
ColorBlend
|
MainColor
Specifies the main color for palette item
Declaration
[SkinnableProperty]
public Color MainColor { get; set; }
Property Value
System.Drawing.Color
Main color of item |
Name
Specifies the name for palette item
Declaration
[SkinnableProperty]
public string Name { get; set; }
Property Value
System.String
Name of item |
SecondColor
Specifies the second color for palette item
Declaration
[SkinnableProperty]
public Color SecondColor { get; set; }
Property Value
System.Drawing.Color
Second color of item |
Methods
Clone()
Clone this object
Declaration
public object Clone()
Returns
System.Object
New instance with fields equal to these ones |
Implements
LoadViewState(Object)
Load data from ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object
savedState
ViewState with data |
Overrides
SaveViewState()
Save data into ViewState
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved data |
Overrides
ToString()
Gets string representation
Declaration
public override string ToString()
Returns
System.String
String representation |
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()