Table of Contents

Method Remove

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Remove(View)

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

public virtual View? Remove(View view)

Parameters

view View

Returns

View

The removed View. null if the View could not be removed.

Remarks

Normally Subviews will be disposed when this View is disposed. Removing a Subview causes ownership of the Subview's lifecycle to be transferred to the caller; the caller muse call Dispose(bool).