Table of Contents

Method LayoutAndDraw

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

LayoutAndDraw(bool)

Causes any Toplevels that need layout to be laid out, then draws any Toplevels that need display. Only Views that need to be laid out (see NeedsLayout) will be laid out. Only Views that need to be drawn (see NeedsDraw) will be drawn.

void LayoutAndDraw(bool forceRedraw = false)

Parameters

forceRedraw bool

If true the entire View hierarchy will be redrawn. The default is false and should only be overridden for testing.

Remarks

This method is called automatically each main loop iteration when any views need layout or drawing.

If ClearScreenNextIteration is true, the screen will be cleared before drawing and the flag will be reset to false.