Class
PaletteEntry

Defines an entry in a ChartPalette instance.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class PaletteEntry

Inheritance: objectPaletteEntry

Constructors

PaletteEntry(Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fill)

Parameters

fill

Color

The fill.

PaletteEntry(Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fill, Color stroke)

Parameters

fill

Color

The fill.

stroke

Color

The stroke.

PaletteEntry(Color, Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fill, Color stroke, Color additionalFill)

Parameters

fill

Color

The fill.

stroke

Color

The stroke.

additionalFill

Color

The secondary fill.

PaletteEntry(Color, Color, Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fill, Color stroke, Color additionalFill, Color additionalStroke)

Parameters

fill

Color

The fill.

stroke

Color

The stroke.

additionalFill

Color

The secondary fill.

additionalStroke

Color

The secondary stroke.

Properties

AdditionalFill

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

Declaration

cs-api-definition
public Color AdditionalFill { get; set; }

Property Value

Color

AdditionalStroke

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

Declaration

cs-api-definition
public Color AdditionalStroke { get; set; }

Property Value

Color

Fill

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

Declaration

cs-api-definition
public Color Fill { get; set; }

Property Value

Color

IsPredefined

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

Declaration

cs-api-definition
public bool IsPredefined { get; }

Property Value

bool

Stroke

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

Declaration

cs-api-definition
public Color Stroke { get; set; }

Property Value

Color

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

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

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

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

Overrides object.GetHashCode()

Operators

operator !=(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are not equal.

Declaration

cs-api-definition
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)

Parameters

entry1

PaletteEntry

entry2

PaletteEntry

Returns

bool

operator ==(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are equal.

Declaration

cs-api-definition
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)

Parameters

entry1

PaletteEntry

entry2

PaletteEntry

Returns

bool