New to Telerik UI for WPFStart a free 30-day trial

Defines an entry in a ChartPalette instance.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public struct PaletteEntry

Inherited Members ValueType.ToString()

Constructors

Initializes a new instance of the PaletteEntry struct.

C#
public PaletteEntry(Brush fill, Brush stroke, Brush additionalFill, Brush additionalStroke)
Parameters:fillBrush

The fill.

strokeBrush

The stroke.

additionalFillBrush

The secondary fill.

additionalStrokeBrush

The secondary stroke.

Initializes a new instance of the PaletteEntry struct.

C#
public PaletteEntry(Brush fill, Brush stroke, Brush additionalFill)
Parameters:fillBrush

The fill.

strokeBrush

The stroke.

additionalFillBrush

The secondary fill.

Initializes a new instance of the PaletteEntry struct.

C#
public PaletteEntry(Brush fill, Brush stroke)
Parameters:fillBrush

The fill.

strokeBrush

The stroke.

Initializes a new instance of the PaletteEntry struct.

C#
public PaletteEntry(Brush fill)
Parameters:fillBrush

The fill.

Properties

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

C#
public Brush AdditionalFill { get; set; }

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

C#
public Brush AdditionalStroke { get; set; }

Fill

Brush

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

C#
public Brush Fill { get; set; }

Stroke

Brush

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

C#
public Brush Stroke { get; set; }

Methods

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

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)

Returns a hash code for this instance.

C#
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

Determines whether the two palette entries are not equal.

C#
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)
Parameters:entry1PaletteEntryentry2PaletteEntryReturns:

bool

Determines whether the two palette entries are equal.

C#
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)
Parameters:entry1PaletteEntryentry2PaletteEntryReturns:

bool