Edit

Share via


ScrollBarEventArgs(Axis, Int32, Int32, ScrollBarButtonType) Constructor

Definition

Initializes a new instance of the ScrollBarEventArgs class with the specified axis, X and Y positions of the mouse cursor, and type of button clicked.

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)

Parameters

axis
Axis

The Axis that contains the scrollbar.

x
Int32

The X position of mouse cursor.

y
Int32

The Y position of mouse cursor.

buttonType
ScrollBarButtonType

The type of button clicked.

Applies to