Table of Contents

Class PanelView

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

A container for single Child that will allow to drawn Border in two ways. If UsePanelFrame the borders and the child will be accommodated in the available panel size, otherwise the panel will be resized based on the child and borders thickness sizes.

public class PanelView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
Inheritance
PanelView
Implements
Inherited Members

Constructors

PanelView()

Initializes a panel with a null child.

PanelView(View)

Initializes a panel with a valid child.

Properties

Border
Child

The child that will use this panel.

UsePanelFrame

Gets or sets if the panel size will used, otherwise the child size.

Methods

Add(View)

Adds a subview (child) to this view.

Redraw(Rect)

Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.

Remove(View)

Removes a subview added via Add(View) or Add(params View[]) from this View.

RemoveAll()

Removes all subviews (children) added via Add(View) or Add(params View[]) from this View.