menu

WPF

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

    Show / Hide Table of Contents

    Class ChartSelectionChangingEventArgs

    Represents chart segment selection changing event arguments.

    Inheritance
    System.Object
    System.EventArgs
    ChartSelectionChangingEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class ChartSelectionChangingEventArgs : EventArgs
    Remarks

    It contains information like selected segment and series.

    Constructors

    ChartSelectionChangingEventArgs()

    Declaration
    public ChartSelectionChangingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to avoid selection.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type
    System.Boolean

    IsDataPointSelection

    Gets a value indicating whether the selection is segment selection or series selection.

    Declaration
    public bool IsDataPointSelection { get; }
    Property Value
    Type
    System.Boolean

    IsSelected

    Gets a value indicating whether the segment or series is selected.

    Declaration
    public bool IsSelected { get; }
    Property Value
    Type
    System.Boolean

    PreviousSelectedIndex

    Gets the previous index of the segment which had been selected through mouse interaction or selected index.

    Declaration
    public int PreviousSelectedIndex { get; }
    Property Value
    Type
    System.Int32

    SelectedIndex

    Gets the current index of the segment which has been selected through mouse interaction or selected index.

    Declaration
    public int SelectedIndex { get; }
    Property Value
    Type
    System.Int32

    SelectedSegment

    Gets the segment which has been selected through mouse interaction or selected index.

    Declaration
    public ChartSegment SelectedSegment { get; }
    Property Value
    Type
    ChartSegment

    SelectedSegments

    Gets or sets the segments collection which has been selected through rectangle selection or mouse interaction.

    Declaration
    public List<ChartSegment> SelectedSegments { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ChartSegment>

    SelectedSeries

    Gets the series which has been selected through mouse interaction or selected index.

    Declaration
    public ChartSeriesBase SelectedSeries { get; }
    Property Value
    Type
    ChartSeriesBase
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved