Share via


AccessibilityNodeInfo.DrawingOrder Property

Definition

Get the drawing order of the view corresponding it this node. -or- Set the drawing order of the view corresponding it this node.

public virtual int DrawingOrder { [Android.Runtime.Register("getDrawingOrder", "()I", "GetGetDrawingOrderHandler", ApiSince=24)] get; [Android.Runtime.Register("setDrawingOrder", "(I)V", "GetSetDrawingOrder_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getDrawingOrder", "()I", "GetGetDrawingOrderHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setDrawingOrder", "(I)V", "GetSetDrawingOrder_IHandler", ApiSince=24)>]
member this.DrawingOrder : int with get, set

Property Value

The drawing position of the view corresponding to this node relative to its siblings.

Attributes

Remarks

Property getter documentation:

Get the drawing order of the view corresponding it this node.

Drawing order is determined only within the node's parent, so this index is only relative to its siblings.

In some cases, the drawing order is essentially simultaneous, so it is possible for two siblings to return the same value. It is also possible that values will be skipped.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.getDrawingOrder().

Property setter documentation:

Set the drawing order of the view corresponding it this node.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setDrawingOrder(int).

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