Method RemoveAll | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
RemoveAll()
public virtual IReadOnlyCollection<View> RemoveAll()
Returns
A list of removed Views.
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() on any Views that were added.
RemoveAll()
public virtual IReadOnlyCollection<TView> RemoveAll<TView>() where TView : View
Returns
A list of removed Views.
Type Parameters
TView
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() on any Views that were added.