Table of Contents

Method SetNeedsDraw

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

SetNeedsDraw()

Sets that the Viewport of this View needs to be redrawn.

public void SetNeedsDraw()

Remarks

If the view has not been initialized (IsInitialized is false), this method does nothing.

SetNeedsDraw(Rectangle)

Expands the area of this view needing to be redrawn to include viewPortRelativeRegion.

public void SetNeedsDraw(Rectangle viewPortRelativeRegion)

Parameters

viewPortRelativeRegion Rectangle

The Viewportrelative region that needs to be redrawn.

Remarks

The location of viewPortRelativeRegion is relative to the View's Viewport.

If the view has not been initialized (IsInitialized is false), the area to be redrawn will be the viewPortRelativeRegion.