ScrollBarEventArgs(Axis, Int32, Int32, ScrollBarButtonType) 构造函数

定义

使用鼠标光标的指定轴、X 和 Y 位置以及单击的按钮类型初始化类的新实例 ScrollBarEventArgs

public:
 ScrollBarEventArgs(System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, int x, int y, System::Windows::Forms::DataVisualization::Charting::ScrollBarButtonType buttonType);
public ScrollBarEventArgs(System.Windows.Forms.DataVisualization.Charting.Axis axis, int x, int y, System.Windows.Forms.DataVisualization.Charting.ScrollBarButtonType buttonType);
new System.Windows.Forms.DataVisualization.Charting.ScrollBarEventArgs : System.Windows.Forms.DataVisualization.Charting.Axis * int * int * System.Windows.Forms.DataVisualization.Charting.ScrollBarButtonType -> System.Windows.Forms.DataVisualization.Charting.ScrollBarEventArgs
Public Sub New (axis As Axis, x As Integer, y As Integer, buttonType As ScrollBarButtonType)

参数

axis
Axis

Axis包含滚动条的

x
Int32

鼠标光标的 X 位置。

y
Int32

鼠标光标的 Y 位置。

buttonType
ScrollBarButtonType

单击的按钮类型。

适用于