語言

CursorEventArgs 建構函式

定義

初始化 CursorEventArgs 類別的新執行個體。

多載

名稱 Description
CursorEventArgs(ChartArea, Axis, Double)

初始化類別的新實例 CursorEventArgs ,包含指定的圖表區域、軸向及游標位置。

CursorEventArgs(ChartArea, Axis, Double, Double)

初始化類別的新實例 CursorEventArgs ,並設定指定圖表區域、軸線、起始與結束位置,以應新範圍。

CursorEventArgs(ChartArea, Axis, Double)

初始化類別的新實例 CursorEventArgs ,包含指定的圖表區域、軸向及游標位置。

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)

參數

chartArea
ChartArea

游標的部分 ChartArea 。

axis
Axis

游標軸。

newPosition
Double

新的游標位置。

適用於

CursorEventArgs(ChartArea, Axis, Double, Double)

初始化類別的新實例 CursorEventArgs ,並設定指定圖表區域、軸線、起始與結束位置,以應新範圍。

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)

參數

chartArea
ChartArea

游標的部分 ChartArea 。

axis
Axis

游標軸。

newSelectionStart
Double

新範圍選擇的起始位置。

newSelectionEnd
Double

新射程選擇的最終位置。

適用於