AccessibilityNodeInfo.SetLabeledBy AccessibilityNodeInfo.SetLabeledBy Method

Definition

Overloads

SetLabeledBy(View, Int32) SetLabeledBy(View, Int32)

Sets the view which serves as the label of the view represented by this info for accessibility purposes.

SetLabeledBy(View) SetLabeledBy(View)

Sets the view which serves as the label of the view represented by this info for accessibility purposes.

SetLabeledBy(View, Int32) SetLabeledBy(View, Int32)

Sets the view which serves as the label of the view represented by this info for accessibility purposes.

[Android.Runtime.Register("setLabeledBy", "(Landroid/view/View;I)V", "GetSetLabeledBy_Landroid_view_View_IHandler", ApiSince=17)]
public virtual void SetLabeledBy (Android.Views.View root, int virtualDescendantId);
abstract member SetLabeledBy : Android.Views.View * int -> unit
override this.SetLabeledBy : Android.Views.View * int -> unit

Parameters

root
View View

The root whose virtual descendant labels this node's source.

virtualDescendantId
Int32 Int32

The id of the virtual descendant.

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.

SetLabeledBy(View) SetLabeledBy(View)

Sets the view which serves as the label of the view represented by this info for accessibility purposes.

[Android.Runtime.Register("setLabeledBy", "(Landroid/view/View;)V", "GetSetLabeledBy_Landroid_view_View_Handler", ApiSince=17)]
public virtual void SetLabeledBy (Android.Views.View label);
abstract member SetLabeledBy : Android.Views.View -> unit
override this.SetLabeledBy : Android.Views.View -> unit

Parameters

label
View View

The view that labels this node's source.

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