Class
ChartPalette

Defines the palette semantic for a RadChartBase instance. The palette contains several PaletteEntryCollection instances, one for each PaletteVisualPart value.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ChartPalette : DependencyObject

Inheritance: objectChartPalette

Constructors

ChartPalette()

Initializes a new instance of the ChartPalette class.

Declaration

cs-api-definition
public ChartPalette()

Properties

FillEntries

Gets or sets the collection that stores entries not related to any particular series.

Declaration

cs-api-definition
public PaletteEntryCollection FillEntries { get; set; }

Property Value

PaletteEntryCollection

Name

Gets or sets the user-friendly identifier for the palette.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

SpecialFillEntries

Gets or sets the collection that stores entries not related to any particular series.

Declaration

cs-api-definition
public PaletteEntryCollection SpecialFillEntries { get; set; }

Property Value

PaletteEntryCollection

SpecialStrokeEntries

Gets or sets the collection that stores entries not related to any particular series.

Declaration

cs-api-definition
public PaletteEntryCollection SpecialStrokeEntries { get; set; }

Property Value

PaletteEntryCollection

StrokeEntries

Gets or sets the collection that stores entries not related to any particular series.

Declaration

cs-api-definition
public PaletteEntryCollection StrokeEntries { get; set; }

Property Value

PaletteEntryCollection

Methods

GetBrush(int, PaletteVisualPart)

Gets the Brush (if present) for the specified PaletteVisualPart instance at the specified index.

Declaration

cs-api-definition
public Brush GetBrush(int index, PaletteVisualPart visualPart)

Parameters

index

int

The index for which to look-up a brush.

visualPart

PaletteVisualPart

The visual part for which a brush is required.

Returns

Brush

GetBrush(int, PaletteVisualPart, string)

Gets the Brush (if present) for the specified PaletteVisualPart instance at the specified index and for the specified series family.

Declaration

cs-api-definition
public Brush GetBrush(int index, PaletteVisualPart visualPart, string seriesFamily)

Parameters

index

int

The index for which to look-up a brush.

visualPart

PaletteVisualPart

The visual part for which a brush is required.

seriesFamily

string

The family of the series that request the brush.

Returns

Brush

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current object.