Sdílet prostřednictvím


AccessibilityRecord.Checked Property

Definition

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

public virtual bool Checked { [Android.Runtime.Register("isChecked", "()Z", "GetIsCheckedHandler")] get; [Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler")] set; }
[<get: Android.Runtime.Register("isChecked", "()Z", "GetIsCheckedHandler")>]
[<set: Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler")>]
member this.Checked : bool with get, set

Property Value

True if the view is checked, false otherwise.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets if the source is checked.

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

Property setter documentation:

Sets if the source is checked.

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