Preference.IOnPreferenceClickListener.OnPreferenceClick(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.
Called when a Preference has been clicked.
[Android.Runtime.Register("onPreferenceClick", "(Landroid/preference/Preference;)Z", "GetOnPreferenceClick_Landroid_preference_Preference_Handler:Android.Preferences.Preference/IOnPreferenceClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnPreferenceClick (Android.Preferences.Preference? preference);
[<Android.Runtime.Register("onPreferenceClick", "(Landroid/preference/Preference;)Z", "GetOnPreferenceClick_Landroid_preference_Preference_Handler:Android.Preferences.Preference/IOnPreferenceClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnPreferenceClick : Android.Preferences.Preference -> bool
Parameters
- preference
- Preference
The Preference that was clicked.
Returns
True if the click was handled.
- Attributes
Remarks
Called when a Preference has been clicked.
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.