Chart.Invalidate Method

Definition

Invalidates the entire surface of the Chart and causes the Chart control to be redrawn.

Overloads

Invalidate()

Invalidates the entire surface of the Chart and causes the Chart control to be redrawn.

Invalidate(Rectangle)

Invalidates the specified area of the Chart control.

Invalidate()

Invalidates the entire surface of the Chart and causes the Chart control to be redrawn.

C#
public void Invalidate ();

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Invalidate(Rectangle)

Invalidates the specified area of the Chart control.

C#
public void Invalidate (System.Drawing.Rectangle rectangle);

Parameters

rectangle
Rectangle

A Rectangle object that specifies the area to invalidate.

Remarks

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.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1