menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class ChartSelectionChangingEventArgs - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartSelectionChangingEventArgs

    Provides data for the SelectionChanging event.

    Inheritance
    System.Object
    ChartSelectionChangingEventArgs
    Namespace: Syncfusion.Maui.Toolkit.Charts
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public class ChartSelectionChangingEventArgs : CancelEventArgs
    Remarks

    This class contains information about the new and old selected items and allows to cancel the selection change.

    NewSelectedIndex: The index of the newly selected data point or series.

    OldSelectedIndex: The index of the previously selected data point or series.

    Constructors

    ChartSelectionChangingEventArgs()

    Initializes a new instance of the ChartSelectionChangingEventArgs class.

    Declaration
    public ChartSelectionChangingEventArgs()

    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>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved