ChartSelectionChangedEventArgs Class
Definition
Provides immutable-by-convention snapshots for the SelectionChanged event.
public class ChartSelectionChangedEventArgs
Constructors
| Name | Description |
|---|---|
| ChartSelectionChangedEventArgs | Creates a new instance of ChartSelectionChangedEventArgs. |
ChartSelectionChangedEventArgs Constructor
Creates a new instance of ChartSelectionChangedEventArgs.
public ChartSelectionChangedEventArgs(System.Collections.IList newSelection, System.Collections.IList oldSelection)
Parameters
newSelection System.Collections.IList
oldSelection System.Collections.IList
Properties
| Name | Description |
|---|---|
| NewIndexes | Gets a snapshot of the selected indexes for index-based selection surfaces. This aliases Avalonia.Controls.Charts.ChartSelectionChangedEventArgs.NewSelection and is meaningful only when the sender selects data points by index. |
| NewSelection | Gets a snapshot of the items that are currently selected. |
| OldIndexes | Gets a snapshot of the previously selected indexes for index-based selection surfaces. This aliases Avalonia.Controls.Charts.ChartSelectionChangedEventArgs.OldSelection and is meaningful only when the sender selects data points by index. |
| OldSelection | Gets a snapshot of the items that were previously selected. |
NewIndexes Property
Gets a snapshot of the selected indexes for index-based selection surfaces. This aliases Avalonia.Controls.Charts.ChartSelectionChangedEventArgs.NewSelection and is meaningful only when the sender selects data points by index.
public System.Collections.IList NewIndexes { get; set; }
NewSelection Property
Gets a snapshot of the items that are currently selected.
public System.Collections.IList NewSelection { get; set; }
OldIndexes Property
Gets a snapshot of the previously selected indexes for index-based selection surfaces. This aliases Avalonia.Controls.Charts.ChartSelectionChangedEventArgs.OldSelection and is meaningful only when the sender selects data points by index.
public System.Collections.IList OldIndexes { get; set; }
OldSelection Property
Gets a snapshot of the items that were previously selected.
public System.Collections.IList OldSelection { get; set; }