Bewerken

Share via


ViewEventArgs.ChartArea Property

Definition

Gets the ChartArea object that a view 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 that represents the chart area a view belongs to.

Remarks

This property is exposed in the AxisViewChanged and AxisViewChanging events of the root Chart object.

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

Applies to