CheckBoxPreference.DisableDependentsState 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.
Caution
Use the AndroidX Preference Library for consistent behavior across all devices.
Returns whether dependents are disabled when this preference is on (true)
or when this preference is off (false). -or- Sets whether dependents are disabled when this preference is on (true)
or when this preference is off (false).
[System.Obsolete("Use the AndroidX Preference Library for consistent behavior across all devices.")]
public override bool DisableDependentsState { [Android.Runtime.Register("getDisableDependentsState", "()Z", "GetGetDisableDependentsStateHandler")] get; [Android.Runtime.Register("setDisableDependentsState", "(Z)V", "GetSetDisableDependentsState_ZHandler")] set; }
[<System.Obsolete("Use the AndroidX Preference Library for consistent behavior across all devices.")>]
[<get: Android.Runtime.Register("getDisableDependentsState", "()Z", "GetGetDisableDependentsStateHandler")>]
[<set: Android.Runtime.Register("setDisableDependentsState", "(Z)V", "GetSetDisableDependentsState_ZHandler")>]
member this.DisableDependentsState : bool with get, set
Property Value
Whether dependents are disabled when this preference is on (true)
or when this preference is off (false).
- Attributes
Remarks
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.