Table of Contents

Method SetNeedsDisplay

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

SetNeedsDisplay()

Sets the area of this view needing to be redrawn to Viewport.

public void SetNeedsDisplay()

Remarks

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

SetNeedsDisplay(Rectangle)

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

public void SetNeedsDisplay(Rectangle region)

Parameters

region Rectangle

The content-relative region that needs to be redrawn.

Remarks

The location of region is relative to the View's content, bound by Size.Empty and GetContentSize().

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