Share via


AccessibilityNodeInfo.ShowingHintText Property

Definition

Returns whether the node's text represents a hint for the user to enter text. -or- Sets whether the node's text represents a hint for the user to enter text.

public virtual bool ShowingHintText { [Android.Runtime.Register("isShowingHintText", "()Z", "GetIsShowingHintTextHandler", ApiSince=26)] get; [Android.Runtime.Register("setShowingHintText", "(Z)V", "GetSetShowingHintText_ZHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("isShowingHintText", "()Z", "GetIsShowingHintTextHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setShowingHintText", "(Z)V", "GetSetShowingHintText_ZHandler", ApiSince=26)>]
member this.ShowingHintText : bool with get, set

Property Value

true if the text in the node represents a hint to the user, false otherwise.

Attributes

Remarks

Property getter documentation:

Returns whether the node's text represents a hint for the user to enter text. It should only be true if the node has editable text.

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

Property setter documentation:

Sets whether the node's text represents a hint for the user to enter text. It should only be true if the node has editable text.

<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.setShowingHintText(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