ScrollBarEventArgs.ChartArea Property

Definition

Gets the ChartArea object that the scrollbar belongs to.

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

Property Value

A ChartArea object.

Remarks

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

The ChartArea property can be used to determine the chart area that the scrollbar belongs to by accessing the Name property. This property can also be used to get and set chart area properties.

Applies to