Share via


ViewGroup.SetClipChildren(Boolean) Method

Definition

By default, children are clipped to their bounds before drawing.

[Android.Runtime.Register("setClipChildren", "(Z)V", "GetSetClipChildren_ZHandler")]
public virtual void SetClipChildren (bool clipChildren);
[<Android.Runtime.Register("setClipChildren", "(Z)V", "GetSetClipChildren_ZHandler")>]
abstract member SetClipChildren : bool -> unit
override this.SetClipChildren : bool -> unit

Parameters

clipChildren
Boolean

true to clip children to their bounds, false otherwise

Attributes

Remarks

By default, children are clipped to their bounds before drawing. This allows view groups to override this behavior for animations, etc.

Java documentation for android.view.ViewGroup.setClipChildren(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to