Preference.Enabled 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.
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.