ChartPaintEventArgs.Chart Property

.NET Framework (current version)
 

Gets the root Chart object.

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

public Chart Chart { get; }

The Chart property allows the developer to set chart properties during the PostPaint and PrePaint events of the Chart control.

.NET Framework
Available since 4.0
Return to top
Show: