Table of Contents

Method Add

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Add(View)

Adds a subview (child) to this view.

public override View Add(View view)

Parameters

view View

The view to add.

Returns

View

The view that was added.

Remarks

The Views that have been added to this view can be retrieved via the Subviews property. See also Remove(View?)RemoveAll()

Subviews will be disposed when this View is disposed. In other-words, calling this method causes the lifecycle of the subviews to be transferred to this View.