PreferenceGroup.OnPrepareAddPreference(Preference) 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.
Prepares a Preference
to be added to the group.
[Android.Runtime.Register("onPrepareAddPreference", "(Landroid/preference/Preference;)Z", "GetOnPrepareAddPreference_Landroid_preference_Preference_Handler")]
protected virtual bool OnPrepareAddPreference (Android.Preferences.Preference? preference);
[<Android.Runtime.Register("onPrepareAddPreference", "(Landroid/preference/Preference;)Z", "GetOnPrepareAddPreference_Landroid_preference_Preference_Handler")>]
abstract member OnPrepareAddPreference : Android.Preferences.Preference -> bool
override this.OnPrepareAddPreference : Android.Preferences.Preference -> bool
Parameters
- preference
- Preference
The preference to add.
Returns
Whether to allow adding the preference (true), or not (false).
- Attributes
Remarks
Prepares a Preference
to be added to the group.
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.