CursorEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기