ViewGroup.SetClipToPadding(Boolean) ViewGroup.SetClipToPadding(Boolean) Method

Definition

Sets whether this ViewGroup will clip its children to its padding and resize (but not clip) any EdgeEffect to the padded region, if padding is present.

[Android.Runtime.Register("setClipToPadding", "(Z)V", "GetSetClipToPadding_ZHandler")]
public virtual void SetClipToPadding (bool clipToPadding);
abstract member SetClipToPadding : bool -> unit
override this.SetClipToPadding : bool -> unit

Parameters

clipToPadding
Boolean Boolean

true to clip children to the padding of the group, and resize (but not clip) any EdgeEffect to the padded region. False otherwise.

Remarks

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