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
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PaletteEntry

Defines an entry in a ChartPalette instance.

Inheritance
System.Object
PaletteEntry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll

Syntax

public class PaletteEntry

Constructors

PaletteEntry(Color)

Initializes a new instance of the PaletteEntry struct.

Declaration
public PaletteEntry(Color fill)
Parameters
System.Drawing.Color fill

The fill.

PaletteEntry(Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration
public PaletteEntry(Color fill, Color stroke)
Parameters
System.Drawing.Color fill

The fill.

System.Drawing.Color stroke

The stroke.

PaletteEntry(Color, Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration
public PaletteEntry(Color fill, Color stroke, Color additionalFill)
Parameters
System.Drawing.Color fill

The fill.

System.Drawing.Color stroke

The stroke.

System.Drawing.Color additionalFill

The secondary fill.

PaletteEntry(Color, Color, Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration
public PaletteEntry(Color fill, Color stroke, Color additionalFill, Color additionalStroke)
Parameters
System.Drawing.Color fill

The fill.

System.Drawing.Color stroke

The stroke.

System.Drawing.Color additionalFill

The secondary fill.

System.Drawing.Color additionalStroke

The secondary stroke.

Properties

AdditionalFill

Gets or sets the System.Drawing.Brush instance that defines the up-fill of the corresponding visual objects.

Declaration
public Color AdditionalFill { get; set; }
Property Value
System.Drawing.Color

additionalFill_XmlSurrogate

Gets or sets the additional fill_ XML surrogate.

Declaration
public string additionalFill_XmlSurrogate { get; set; }
Property Value
System.String

The additional fill_ XML surrogate.

AdditionalStroke

Gets or sets the System.Drawing.Brush instance that defines the stroke of the corresponding visual objects.

Declaration
public Color AdditionalStroke { get; set; }
Property Value
System.Drawing.Color

additionalStroke_XmlSurrogate

Gets or sets the additional stroke_ XML surrogate.

Declaration
public string additionalStroke_XmlSurrogate { get; set; }
Property Value
System.String

The additional stroke_ XML surrogate.

Fill

Gets or sets the System.Drawing.Brush instance that defines the fill of the corresponding visual objects.

Declaration
public Color Fill { get; set; }
Property Value
System.Drawing.Color

fill_XmlSurrogate

Gets or sets the fill_ XML surrogate.

Declaration
public string fill_XmlSurrogate { get; set; }
Property Value
System.String

The fill_ XML surrogate.

IsPredefined

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

Declaration
public bool IsPredefined { get; }
Property Value
System.Boolean

Stroke

Gets or sets the System.Drawing.Brush instance that defines the stroke of the corresponding visual objects.

Declaration
public Color Stroke { get; set; }
Property Value
System.Drawing.Color

stroke_XmlSurrogate

Gets or sets the stroke_ XML surrogate.

Declaration
public string stroke_XmlSurrogate { get; set; }
Property Value
System.String

The stroke_ XML surrogate.

Methods

Equals(Object)

Determines whether the specified System.Object is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with this instance.

Returns
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()

Operators

Equality(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are equal.

Declaration
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry entry1

PaletteEntry entry2

Returns
System.Boolean

Inequality(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are not equal.

Declaration
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry entry1

PaletteEntry entry2

Returns
System.Boolean

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing 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.