Table of Contents

Method OnDrawContent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnDrawContent(Rect)

Enables overrides to draw infinitely scrolled content and/or a background behind added controls.

public virtual void OnDrawContent(Rect viewport)

Parameters

viewport Rect

The view-relative rectangle describing the currently visible viewport into the View

Remarks

This method will be called before any subviews added with Add(View) have been drawn.