Edit

Share via


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.

public:
 void Invalidate();
public void Invalidate ();
override this.Invalidate : unit -> unit
Public Sub Invalidate ()

Applies to

Invalidate(Rectangle)

Invalidates the specified area of the Chart control.

public:
 void Invalidate(System::Drawing::Rectangle rectangle);
public void Invalidate (System.Drawing.Rectangle rectangle);
override this.Invalidate : System.Drawing.Rectangle -> unit
Public Sub Invalidate (rectangle As 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