Sdílet prostřednictvím


AccessibilityRecord.Enabled Property

Definition

Gets if the source is enabled. -or- Sets if the source is enabled.

public virtual bool Enabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")] get; [Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")>]
[<set: Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")>]
member this.Enabled : bool with get, set

Property Value

True if the view is enabled, false otherwise.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets if the source is enabled.

Java documentation for android.view.accessibility.AccessibilityRecord.isEnabled().

Property setter documentation:

Sets if the source is enabled.

Java documentation for android.view.accessibility.AccessibilityRecord.setEnabled(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