Aracılığıyla paylaş


ViewGroup.ClipToPadding Property

Definition

Returns 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.

public virtual bool ClipToPadding { [Android.Runtime.Register("getClipToPadding", "()Z", "GetGetClipToPaddingHandler")] get; }
[<get: Android.Runtime.Register("getClipToPadding", "()Z", "GetGetClipToPaddingHandler")>]
member this.ClipToPadding : bool

Property Value

true if this ViewGroup clips children to its padding and resizes (but doesn't clip) any EdgeEffect to the padded region, false otherwise.

Attributes

Remarks

Returns 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.

By default, children are clipped to the padding of their parent Viewgroup. This clipping behavior is only enabled if padding is non-zero.

Java documentation for android.view.ViewGroup.getClipToPadding().

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