Struct
PaletteEntry

Defines an entry in a ChartPalette instance.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public struct PaletteEntry

Inherited Members ValueType.ToString()

Constructors

PaletteEntry(Brush)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Brush fill)

Parameters

fill

Brush

The fill.

PaletteEntry(Brush, Brush)

Initializes a new instance of the PaletteEntry struct.

Declaration

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

Parameters

fill

Brush

The fill.

stroke

Brush

The stroke.

PaletteEntry(Brush, Brush, Brush)

Initializes a new instance of the PaletteEntry struct.

Declaration

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

Parameters

fill

Brush

The fill.

stroke

Brush

The stroke.

additionalFill

Brush

The secondary fill.

PaletteEntry(Brush, Brush, Brush, Brush)

Initializes a new instance of the PaletteEntry struct.

Declaration

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

Parameters

fill

Brush

The fill.

stroke

Brush

The stroke.

additionalFill

Brush

The secondary fill.

additionalStroke

Brush

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 Brush AdditionalFill { get; set; }

Property Value

Brush

AdditionalStroke

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

Declaration

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

Property Value

Brush

Fill

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

Declaration

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

Property Value

Brush

Stroke

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

Declaration

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

Property Value

Brush

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 ValueType.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 ValueType.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