View.LabelFor Property

Definition

Gets the id of a view for which this view serves as a label for accessibility purposes. -or- Sets the id of a view for which this view serves as a label for accessibility purposes.

public virtual int LabelFor { [Android.Runtime.Register("getLabelFor", "()I", "GetGetLabelForHandler")] get; [Android.Runtime.Register("setLabelFor", "(I)V", "GetSetLabelFor_IHandler")] set; }
[<get: Android.Runtime.Register("getLabelFor", "()I", "GetGetLabelForHandler")>]
[<set: Android.Runtime.Register("setLabelFor", "(I)V", "GetSetLabelFor_IHandler")>]
member this.LabelFor : int with get, set

Property Value

The labeled view id.

Attributes

Remarks

Property getter documentation:

Gets the id of a view for which this view serves as a label for accessibility purposes.

Java documentation for android.view.View.getLabelFor().

Property setter documentation:

Sets the id of a view for which this view serves as a label for accessibility purposes.

Java documentation for android.view.View.setLabelFor(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