AccessibilityNodeInfo.FieldRequired Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether a node representing a form field requires input or selection. -or- Sets whether this
node represents a form field that requires input or selection.
public virtual bool FieldRequired { [Android.Runtime.Register("isFieldRequired", "()Z", "GetIsFieldRequiredHandler", ApiSince=36)] get; [Android.Runtime.Register("setFieldRequired", "(Z)V", "GetSetFieldRequired_ZHandler", ApiSince=36)] set; }
[<get: Android.Runtime.Register("isFieldRequired", "()Z", "GetIsFieldRequiredHandler", ApiSince=36)>]
[<set: Android.Runtime.Register("setFieldRequired", "(Z)V", "GetSetFieldRequired_ZHandler", ApiSince=36)>]
member this.FieldRequired : bool with get, set
Property Value
true
if this
node represents a form field that requires input or
selection, false
otherwise.
- Attributes
Remarks
Property getter documentation:
Gets whether a node representing a form field requires input or selection.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.isFieldRequired()
.
Property setter documentation:
Sets whether this
node represents a form field that requires input or selection.
<strong>Note:</strong> Cannot be called from an AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.setFieldRequired(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.