Table of Contents

Method Clear

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Clear()

Clears Viewport with the normal background.

public void Clear()

Remarks

If ViewportSettings has ClearContentOnly only the portion of the content area that is visible within the Viewport will be cleared. This is useful for views that have a content area larger than the Viewport (e.g. when AllowNegativeLocation is enabled) and want the area outside the content to be visually distinct.