Class ChartSelectionChangingEventArgs
Represents chart segment selection changing event arguments.
Inheritance
Inherited Members
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 |