BufferedGraphicsContext.Invalidate Method

Definition

Disposes of the current graphics buffer, if a buffer has been allocated and has not yet been disposed.

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

Remarks

If the graphics buffer is in use, it will be marked for disposal as soon as it is free; otherwise, it will be disposed immediately.

Applies to

See also