Redigera

Dela via


ScrollBarEventArgs.Axis Property

Definition

Gets the Axis object that a scrollbar belongs to.

public:
 property System::Windows::Forms::DataVisualization::Charting::Axis ^ Axis { System::Windows::Forms::DataVisualization::Charting::Axis ^ get(); };
public System.Windows.Forms.DataVisualization.Charting.Axis Axis { get; }
member this.Axis : System.Windows.Forms.DataVisualization.Charting.Axis
Public ReadOnly Property Axis As Axis

Property Value

An Axis object that represents the axis that the scrollbar belongs to.

Remarks

This property is exposed in the AxisScrollBarClicked event of the root Chart object.

This property can be used to:

  • determine the type of axis - X, X2, Y or Y2 - that the event is being raised for, using the AxisName property.

  • get and set axis properties, such as LineColor.

Applies to