Preference.Enabled Property

Definition

Checks whether this Preference should be enabled in the list. -or- Sets whether this Preference 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 this Preference is enabled, false otherwise

Attributes

Remarks

Property getter documentation:

Checks whether this Preference should be enabled in the list.

Java documentation for android.preference.Preference.isEnabled().

Property setter documentation:

Sets whether this Preference is enabled. If disabled, it will not handle clicks.

Java documentation for android.preference.Preference.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