Method Draw
Draw(DrawContext?)
Draws the view if it needs to be drawn.
public void Draw(DrawContext? context = null)
Parameters
contextDrawContext
Remarks
The view will only be drawn if it is visible, and has any of NeedsDraw, Terminal.Gui.ViewBase.View.SubViewNeedsDraw, or NeedsLayout set. A SuperView may also require clean views that share their line canvases to regenerate their borders without redrawing content, so partial redraws can compose complete borders.
See the View Drawing Deep Dive for more information: https://tui-cs.github.io/Terminal.Gui/docs/drawing.html.