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 PaletteItem

Palette item

Inheritance
System.Object
StateManagedObject
PaletteItem
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 PaletteItem : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, IDisposable, 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

LoadViewState(Object)

Load data from ViewState

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

ViewState with 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.