ScrollBarEventArgs.ButtonType Property

.NET Framework (current version)
 

Gets the type of scrollbar button that the end-user clicked.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public ScrollBarButtonType ButtonType { get; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.ScrollBarButtonType

A ScrollBarButtonType enumeration value that represents the type of scrollbar button the end-user clicked.

This property is exposed in the AxisScrollBarClicked event of the root Chart object, and can be used to determine the type of scrollbar button the end-user clicked.

.NET Framework
Available since 4.0
Return to top
Show: