skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class Palette

Series color palette. Used for an automatic series items colors assignment

Inheritance
System.Object
StateManagedObject
Palette
Inherited Members
StateManagedObject.IChartingStateManager.LoadViewState(Object)
StateManagedObject.IChartingStateManager.SaveViewState()
StateManagedObject.IChartingStateManager.TrackViewState()
StateManagedObject.CloneState()
StateManagedObject.SetDirty()
StateManagedObject.Dispose()
StateManagedObject.Dispose(Boolean)
StateManagedObject.ViewStateIgnoresCase
StateManagedObject.IChartingStateManager.IsTrackingViewState
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll

Syntax

public class Palette : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, IDisposable, ICloneable

Constructors

Palette()

Create new instance of Palette class.

Declaration
public Palette()

Palette(String)

Create new instance of Palette class.

Declaration
public Palette(string name)
Parameters
System.String name

Name of palette

Palette(String, Color[], Boolean)

Create new instance of Palette class.

Declaration
public Palette(string name, Color[] colors, bool twoColors)
Parameters
System.String name

Name

System.Drawing.Color[] colors

Colors of items

System.Boolean twoColors

If true than second and main colors are equal

Palette(String, Color[], Color[])

Create new instance of Palette class.

Declaration
public Palette(string name, Color[] mainColors, Color[] secondColors)
Parameters
System.String name

Name of palette

System.Drawing.Color[] mainColors

Main colors of palette items

System.Drawing.Color[] secondColors

Second colors of palette items

Palette(String, ColorBlend[])

Create new instance of Palette class.

Declaration
public Palette(string name, ColorBlend[] addtionalColors)
Parameters
System.String name

Name of Palette

ColorBlend[] addtionalColors

Additional colors of palette

Properties

Item[Int32]

Gets and sets Palette item at specified index

Declaration
public PaletteItem this[int index] { get; set; }
Parameters
System.Int32 index

Index to get palette item

Property Value
PaletteItem

Palette item at specified index

Items

Gets Palette Items Collection

Declaration
[SkinnableProperty]
public PaletteItemsCollection Items { get; }
Property Value
PaletteItemsCollection

Name

Specifies the palette name

Declaration
[SkinnableProperty]
public string Name { get; set; }
Property Value
System.String

Palette name

Methods

Clone()

Clone this object

Declaration
public object Clone()
Returns
System.Object

New instance with the same fields as this one

LoadViewState(Object)

Load data from ViewState

Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object savedState

ViewState data

Overrides
StateManagedObject.LoadViewState(Object)

SaveViewState()

Save data into ViewState

Declaration
protected override object SaveViewState()
Returns
System.Object

Saved data

Overrides
StateManagedObject.SaveViewState()

ToString()

Gets string representation

Declaration
public override string ToString()
Returns
System.String

String representation

Overrides
StateManagedObject.ToString()

TrackViewState()

Track ViewState

Declaration
protected override void TrackViewState()
Overrides
StateManagedObject.TrackViewState()
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.