Chart.Invalidate Method (Rectangle)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Invalidates the specified area of the Chart control.

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

public void Invalidate(
	Rectangle rectangle
)

Parameters

rectangle
Type: System.Drawing.Rectangle

A Rectangle object that specifies the area to invalidate.

This method adds the specified area to the Chart control's update area, which is the area that will be repainted at the next paint operation. This method also causes a paint message to be sent to the Chart control.

.NET Framework
Available since 4.0
Return to top
Show: