LegendItemClickedEventArgs Class
Definition
Provides data for the Avalonia.Controls.Charts.ChartBase.LegendItemClicked event.
public class LegendItemClickedEventArgs
Constructors
| Name | Description |
|---|---|
| LegendItemClickedEventArgs | Initializes a new instance of the Avalonia.Controls.Charts.LegendItemClickedEventArgs class. |
LegendItemClickedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.Charts.LegendItemClickedEventArgs class.
public LegendItemClickedEventArgs(Avalonia.Controls.Charts.ChartLegendItem item, bool isNowVisible)
Parameters
item Avalonia.Controls.Charts.ChartLegendItem
isNowVisible bool
Properties
| Name | Description |
|---|---|
| IsNowVisible | Gets whether the associated series or indicator is now visible after the toggle. |
| Item | Gets the legend item that was clicked. |
IsNowVisible Property
Gets whether the associated series or indicator is now visible after the toggle.
public bool IsNowVisible { get; set; }
Item Property
Gets the legend item that was clicked.
public Avalonia.Controls.Charts.ChartLegendItem Item { get; set; }