Compartilhar via


ViewGroup.ChildrenDrawingOrderEnabled Property

Definition

Indicates whether the ViewGroup is drawing its children in the order defined by #getChildDrawingOrder(int, int). -or- Tells the ViewGroup whether to draw its children in the order defined by the method #getChildDrawingOrder(int, int).

protected virtual bool ChildrenDrawingOrderEnabled { [Android.Runtime.Register("isChildrenDrawingOrderEnabled", "()Z", "GetIsChildrenDrawingOrderEnabledHandler")] get; [Android.Runtime.Register("setChildrenDrawingOrderEnabled", "(Z)V", "GetSetChildrenDrawingOrderEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isChildrenDrawingOrderEnabled", "()Z", "GetIsChildrenDrawingOrderEnabledHandler")>]
[<set: Android.Runtime.Register("setChildrenDrawingOrderEnabled", "(Z)V", "GetSetChildrenDrawingOrderEnabled_ZHandler")>]
member this.ChildrenDrawingOrderEnabled : bool with get, set

Property Value

true if children drawing order is defined by #getChildDrawingOrder(int, int), false otherwise

Attributes

Remarks

Property getter documentation:

Indicates whether the ViewGroup is drawing its children in the order defined by #getChildDrawingOrder(int, int).

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

Property setter documentation:

Tells the ViewGroup whether to draw its children in the order defined by the method #getChildDrawingOrder(int, int).

Note that View#getZ() Z reordering, done by #dispatchDraw(Canvas), will override custom child ordering done via this method.

Java documentation for android.view.ViewGroup.setChildrenDrawingOrderEnabled(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

See also