Sdílet prostřednictvím


Preference.OnPreferenceClickListener Property

Definition

Returns the callback to be invoked when this Preference is clicked. -or- Sets the callback to be invoked when this Preference is clicked.

public virtual Android.Preferences.Preference.IOnPreferenceClickListener? OnPreferenceClickListener { [Android.Runtime.Register("getOnPreferenceClickListener", "()Landroid/preference/Preference$OnPreferenceClickListener;", "GetGetOnPreferenceClickListenerHandler")] get; [Android.Runtime.Register("setOnPreferenceClickListener", "(Landroid/preference/Preference$OnPreferenceClickListener;)V", "GetSetOnPreferenceClickListener_Landroid_preference_Preference_OnPreferenceClickListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnPreferenceClickListener", "()Landroid/preference/Preference$OnPreferenceClickListener;", "GetGetOnPreferenceClickListenerHandler")>]
[<set: Android.Runtime.Register("setOnPreferenceClickListener", "(Landroid/preference/Preference$OnPreferenceClickListener;)V", "GetSetOnPreferenceClickListener_Landroid_preference_Preference_OnPreferenceClickListener_Handler")>]
member this.OnPreferenceClickListener : Android.Preferences.Preference.IOnPreferenceClickListener with get, set

Property Value

The callback to be invoked.

Attributes

Remarks

Property getter documentation:

Java documentation for android.preference.Preference.getOnPreferenceClickListener().

Property setter documentation:

Java documentation for android.preference.Preference.setOnPreferenceClickListener(android.preference.OnPreferenceClickListener).

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