ChartLegendItemActivatedEventArgs Class
Definition
Event data for Avalonia.Controls.Charts.ChartLegend.ItemActivated.
public class ChartLegendItemActivatedEventArgs
Constructors
| Name | Description |
|---|---|
| ChartLegendItemActivatedEventArgs | Initializes a new instance of Avalonia.Controls.Charts.ChartLegendItemActivatedEventArgs. |
ChartLegendItemActivatedEventArgs Constructor
Initializes a new instance of Avalonia.Controls.Charts.ChartLegendItemActivatedEventArgs.
public ChartLegendItemActivatedEventArgs(Avalonia.Controls.Charts.ChartLegendItem item, int index)
Parameters
item Avalonia.Controls.Charts.ChartLegendItem
The activated legend item.
index int
The index of the activated item within the legend.
Properties
| Name | Description |
|---|---|
| Index | Gets the index of the activated item within the legend. |
| Item | Gets the activated legend item. |
Index Property
Gets the index of the activated item within the legend.
public int Index { get; set; }
Item Property
Gets the activated legend item.
public Avalonia.Controls.Charts.ChartLegendItem Item { get; set; }