Editar

Compartilhar via


CursorEventArgs Constructors

Definition

Initializes a new instance of the CursorEventArgs class.

Overloads

CursorEventArgs(ChartArea, Axis, Double)

Initializes a new instance of the CursorEventArgs class with the specified chart area, axis, and cursor position.

CursorEventArgs(ChartArea, Axis, Double, Double)

Initializes a new instance of the CursorEventArgs class with the specified chart area, axis, start and end positions for the new range.

CursorEventArgs(ChartArea, Axis, Double)

Initializes a new instance of the CursorEventArgs class with the specified chart area, axis, and cursor position.

public:
 CursorEventArgs(System::Windows::Forms::DataVisualization::Charting::ChartArea ^ chartArea, System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newPosition);
public CursorEventArgs (System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea, System.Windows.Forms.DataVisualization.Charting.Axis axis, double newPosition);
new System.Windows.Forms.DataVisualization.Charting.CursorEventArgs : System.Windows.Forms.DataVisualization.Charting.ChartArea * System.Windows.Forms.DataVisualization.Charting.Axis * double -> System.Windows.Forms.DataVisualization.Charting.CursorEventArgs
Public Sub New (chartArea As ChartArea, axis As Axis, newPosition As Double)

Parameters

chartArea
ChartArea

The ChartArea of the cursor.

axis
Axis

The axis of the cursor.

newPosition
Double

The new cursor position.

Applies to

CursorEventArgs(ChartArea, Axis, Double, Double)

Initializes a new instance of the CursorEventArgs class with the specified chart area, axis, start and end positions for the new range.

public:
 CursorEventArgs(System::Windows::Forms::DataVisualization::Charting::ChartArea ^ chartArea, System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newSelectionStart, double newSelectionEnd);
public CursorEventArgs (System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea, System.Windows.Forms.DataVisualization.Charting.Axis axis, double newSelectionStart, double newSelectionEnd);
new System.Windows.Forms.DataVisualization.Charting.CursorEventArgs : System.Windows.Forms.DataVisualization.Charting.ChartArea * System.Windows.Forms.DataVisualization.Charting.Axis * double * double -> System.Windows.Forms.DataVisualization.Charting.CursorEventArgs
Public Sub New (chartArea As ChartArea, axis As Axis, newSelectionStart As Double, newSelectionEnd As Double)

Parameters

chartArea
ChartArea

The ChartArea of the cursor.

axis
Axis

The axis of the cursor.

newSelectionStart
Double

The start position of the new range selection.

newSelectionEnd
Double

The end position of the new range selection.

Applies to