New to Telerik UI for WinFormsStart a free 30-day trial

Defines the palette semantic for a ChartView instance. The palette contains GlobalEntries, which are PaletteEntry objects, not related to any particular series and the SeriesEntries collection, which may be used to define a palette for a series family - e.g. Area.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
[TypeConverter(typeof(ChartPaletteConverter))]
public class ChartPalette

Inheritance: objectChartPalette

Constructors

Initializes a new instance of the ChartPalette class.

C#
public ChartPalette()

Fields

C#
public static ChartPalette Empty

Properties

Gets the collection that stores entries not related to any particular series.

C#
public PaletteEntryCollection GlobalEntries { get; }

Gets a value indicating whether the specified palette is predefined and may not be modified by the user.

C#
public bool IsPredefined { get; }

Gets or sets the user-friendly identifier for the palette.

C#
public string Name { get; set; }

Gets the collection with all the per-series definitions registered with the palette.

C#
public ChartPaletteCollection SeriesEntries { get; }

Methods

Gets the KnownPalette by the specific name.

C#
public static ChartPalette FromKnownPalette(string name)
Parameters:namestring

The name.

Returns:

ChartPalette

Gets the palette entry with the specific name.

C#
public PaletteEntry GetEntry(string familyName, int index)
Parameters:familyNamestring

Name of the family.

indexint

The index.

Returns:

PaletteEntry

Called when [changed].

C#
protected virtual void OnChanged()

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()

Events

Occurs upon a change in some of the entries or when an entry is added/removed/replaced.

C#
public event EventHandler Changed