New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a single color slot within a ChartPalette, providing the fill and stroke colors applied to the series or slice occupying that slot's position.

Definition

Namespace:Telerik.Maui.Controls.Charts

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public sealed class ChartPaletteEntry : StyleableElement

Inheritance: objectChartPaletteEntry

Constructors

C#
public ChartPaletteEntry()

Fields

FillColorProperty

BindableProperty

Identifies the FillColor bindable property.

C#
public static readonly BindableProperty FillColorProperty

StrokeColorProperty

BindableProperty

Identifies the StrokeColor bindable property.

C#
public static readonly BindableProperty StrokeColorProperty

Properties

Gets or sets the fill color applied to a series or slice occupying this palette slot. Set to null (the default) to fall through to the theme's default palette color for this slot.

C#
public Color? FillColor { get; set; }

Gets or sets the stroke color applied to a series or slice occupying this palette slot. Set to null (the default) to fall through to the theme's default palette color for this slot.

C#
public Color? StrokeColor { get; set; }