About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

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

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • 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>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
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.