Table of Contents

Method ClearViewport

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ClearViewport()

Clears Viewport with the normal background.

public void ClearViewport()

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.