Android.Views.ViewGroup.RemoveAllViews Method
Call this method to remove all child views from the ViewGroup.

Syntax

[Android.Runtime.Register("removeAllViews", "()V", "GetRemoveAllViewsHandler")]
public virtual void RemoveAllViews ()

Remarks

Call this method to remove all child views from the ViewGroup.

Note: do not invoke this method from View.Draw(Android.Graphics.Canvas), View.OnDraw(Android.Graphics.Canvas), ViewGroup.dispatchDraw(android.graphics.Canvas) or any related method.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1