Table of Contents

Method RemoveAll

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

RemoveAll()

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

public virtual void RemoveAll()

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 must call Dispose(bool) on any Views that were added.