menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartSelectionChangingEventArgs - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartSelectionChangingEventArgs

    Represents the chart selection changing event arguments.

    Inheritance
    System.Object
    ChartSelectionChangingEventArgs
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public class ChartSelectionChangingEventArgs : CancelEventArgs
    Remarks

    It contains data for the CurrentIndex and PreviousIndex.

    Constructors

    ChartSelectionChangingEventArgs()

    Declaration
    public ChartSelectionChangingEventArgs()

    Properties

    NewIndexes

    Gets the collection of selected data point indexes.

    Declaration
    public List<int> NewIndexes { get; }
    Property Value
    Type
    System.Collections.Generic.List<System.Int32>
    Remarks

    NewIndexes[0] is the current selected index.

    OldIndexes

    Gets the collection of previous selected data point indexes.

    Declaration
    public List<int> OldIndexes { get; }
    Property Value
    Type
    System.Collections.Generic.List<System.Int32>
    Remarks

    OldIndexes[0] is the current unselected index.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved