Preference.OnParentChanged(Preference, Boolean) Method
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.
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.
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.