Share via


AccessibilityNodeInfo.LabelFor Property

Definition

Gets the node info for which the view represented by this info serves as a label for accessibility purposes.

public virtual Android.Views.Accessibility.AccessibilityNodeInfo? LabelFor { [Android.Runtime.Register("getLabelFor", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetLabelForHandler")] get; }
[<get: Android.Runtime.Register("getLabelFor", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetLabelForHandler")>]
member this.LabelFor : Android.Views.Accessibility.AccessibilityNodeInfo

Property Value

The labeled info.

Attributes

Remarks

Gets the node info for which the view represented by this info serves as a label for accessibility purposes.

This member is deprecated. Use #getLabeledByList() on the labeled node instead, since calling #addLabeledBy(View) or #addLabeledBy(View, int) on the labeled node do not automatically provide that node from this method.

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

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