CursorEventArgs::ChartArea Property
.NET Framework (current version)
Gets the ChartArea object that a cursor or range selection belongs to.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
The ChartArea property is exposed in the following events of the root Chart object: CursorPositionChanged, CursorPositionChanging, SelectionRangeChanged and SelectionRangeChanging.
This property can be used to:
determine which chart area the event is being raised for; this is useful to know when there are multiple chart areas within a chart image.
get and set chart area properties, such as BackColor.
.NET Framework
Available since 4.0
Available since 4.0
Show: