ViewEventArgs::ChartArea Property

.NET Framework (current version)
 

Gets the ChartArea object that a view belongs to.

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

public:
property ChartArea^ ChartArea {
	ChartArea^ get();
}

Property Value

Type: System.Windows.Forms.DataVisualization.Charting::ChartArea^

A ChartArea object that represents the chart area a view belongs to.

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 T:System.Windows.Forms.DataVisualization.Charting.ChartArea.Name property. This property can also be used to get and set chart area properties.

.NET Framework
Available since 4.0
Return to top
Show: