Share via


Preference.OnParentChanged(Preference, Boolean) Method

Definition

Called when the implicit parent dependency changes.

[Android.Runtime.Register("onParentChanged", "(Landroid/preference/Preference;Z)V", "GetOnParentChanged_Landroid_preference_Preference_ZHandler")]
public virtual void OnParentChanged (Android.Preferences.Preference? parent, bool disableChild);
[<Android.Runtime.Register("onParentChanged", "(Landroid/preference/Preference;Z)V", "GetOnParentChanged_Landroid_preference_Preference_ZHandler")>]
abstract member OnParentChanged : Android.Preferences.Preference * bool -> unit
override this.OnParentChanged : Android.Preferences.Preference * bool -> unit

Parameters

parent
Preference

The Preference that this Preference depends on.

disableChild
Boolean

Set true to disable this Preference.

Attributes

Remarks

Called when the implicit parent dependency changes.

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