New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the SelectedPointChanging event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public class ChartViewSelectedPointChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsChartViewSelectedPointChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the ChartViewSelectedPointChangingEventArgs class.

C#
public ChartViewSelectedPointChangingEventArgs(DataPoint oldSelectedPoint, DataPoint newSelectedPoint, ChartSeries oldSelectedSeries, ChartSeries newSelectedSeries, ChartSelectionMode selectionMode, bool cancel)
Parameters:oldSelectedPointDataPoint

The old selected point.

newSelectedPointDataPoint

The new selected point.

oldSelectedSeriesChartSeries

The old selected series.

newSelectedSeriesChartSeries

The new selected series.

selectionModeChartSelectionMode

The selection mode.

cancelbool

The cancel.

Initializes a new instance of the ChartViewSelectedPointChangingEventArgs class.

C#
public ChartViewSelectedPointChangingEventArgs(DataPoint oldSelectedPoint, DataPoint newSelectedPoint, ChartSeries oldSelectedSeries, ChartSeries newSelectedSeries, ChartSelectionMode selectionMode)
Parameters:oldSelectedPointDataPoint

The old selected point.

newSelectedPointDataPoint

The new selected point.

oldSelectedSeriesChartSeries

The old selected series.

newSelectedSeriesChartSeries

The new selected series.

selectionModeChartSelectionMode

The selection mode.

Properties

Gets the new selected data point.

C#
public DataPoint NewSelectedPoint { get; }

Gets the new selected data point chart series.

C#
public ChartSeries NewSelectedSeries { get; }

Gets the selected data point.

C#
public DataPoint OldSelectedPoint { get; }

Gets the selected data point chart series.

C#
public ChartSeries OldSelectedSeries { get; }

Gets the current selection mode

C#
public ChartSelectionMode SelectionMode { get; }