Skip to main content

LegendItem Class

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents an item in the map legend.

public class LegendItem

Inheritance: object -> LegendItem

Constructors​

NameDescription
LegendItemNo summary available.

LegendItem Constructor​

public LegendItem()

Properties​

NameDescription
FillGets or sets the fill brush.
LabelGets or sets the legend text displayed for the item.

Fill Property​

Gets or sets the fill brush.

public Avalonia.Media.IBrush Fill { get; set; }

Label Property​

Gets or sets the legend text displayed for the item.

public string Label { get; set; }