다음을 통해 공유


TwoStatePreference.DisableDependentsState Property

Definition

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).

public virtual bool DisableDependentsState { [Android.Runtime.Register("getDisableDependentsState", "()Z", "GetGetDisableDependentsStateHandler")] get; [Android.Runtime.Register("setDisableDependentsState", "(Z)V", "GetSetDisableDependentsState_ZHandler")] set; }
[<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

Property getter documentation:

Returns whether dependents are disabled when this preference is on (true) or when this preference is off (false).

Java documentation for android.preference.TwoStatePreference.getDisableDependentsState().

Property setter documentation:

Sets whether dependents are disabled when this preference is on (true) or when this preference is off (false).

Java documentation for android.preference.TwoStatePreference.setDisableDependentsState(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