Table of Contents

Method Redraw

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Redraw(Rect)

Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.

public virtual void Redraw(Rect bounds)

Parameters

bounds Rect

The bounds (view-relative region) to redraw.

Remarks

Always use Bounds (view-relative) when calling Redraw(Rect), NOT Frame (superview-relative).

Views should set the color that they want to use on entry, as otherwise this will inherit the last color that was set globally on the driver.

Overrides of Redraw(Rect) must ensure they do not set Driver.Clip to a clip region larger than the parameter, as this will cause the driver to clip the entire region.