Class ChartSelectionChangedEventArgs
Provides data for the SelectionChanged event.
Inheritance
System.Object
ChartSelectionChangedEventArgs
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ChartSelectionChangedEventArgs : EventArgs
Remarks
This class contains information about the new and old selected items.
NewSelectedIndex: The index of the newly selected data point or series.
OldSelectedIndex: The index of the previously selected data point or series.
Constructors
ChartSelectionChangedEventArgs()
Initializes a new instance of the ChartSelectionChangedEventArgs class.
Declaration
public ChartSelectionChangedEventArgs()
Properties
NewIndexes
Gets the indexes of the newly selected items.
Declaration
public List<int> NewIndexes { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Int32> |
OldIndexes
Gets the indexes of the previously selected items.
Declaration
public List<int> OldIndexes { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Int32> |