ColorPalette
Class
Represents a collection of user-selected colors.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[AIAssistantDescription("Explicit, ordered list of colors assigned by position. Colors[0] goes to the first receiver, Colors[1] to the second, cycling back when exhausted. Use this palette when you know the exact colors you want. A single entry list colors all receivers in the same color. A multi-entry list assigns a fixed sequence across multiple series. This is the SIMPLEST and MOST COMMON palette choice for coloring.")]
public class ColorPalette : IColorPalette
Inheritance: objectColorPalette
Implements:
Constructors
TODO: Add documentation.
C#
public ColorPalette()
TODO: Add documentation.
C#
public ColorPalette(params Color[] colors)
TODO: Add documentation.
C#
public ColorPalette(params string[] hexColors)
Fields
Internal use only
C#
public static IColorPalette DefaultPalette
Properties
Colors
List<Color>
Internal use only
C#
[AIAssistantRequired]
[AIAssistantDescription("Ordered list of color strings.Each element must be a <color-string> where <color-string> is a color name (\"Red\"), hex (\"#FF0000\"), or RGB (\"255, 0, 0\").")]
public List<Color> Colors { get; }
Methods
TODO: Add documentation.
C#
public void AddColors(IEnumerable<Color> colors)
TODO: Add documentation.
C#
public void AddColors(params Color[] colors)
TODO: Add documentation.
C#
public void AddColors(params string[] hexColors)
Internal use only
C#
public object Clone()
object
TODO: Add documentation.
TODO: Add documentation.
C#
public override bool Equals(object obj)
bool
Overrides:
TODO: Add documentation.
C#
public Color GetColor(int index, int count)
Color
Implements:
TODO: Add documentation.
C#
public override int GetHashCode()
int
Overrides:
TODO: Add documentation.
C#
public override string ToString()
string
Overrides: