Android.Preferences.DialogPreference Members

The members of Android.Preferences.DialogPreference are listed below.

See Also: Inherited members from Android.Preferences.Preference

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
DialogAndroid.App.Dialog. Gets the dialog that is shown by this preference.
DialogIconAndroid.Graphics.Drawables.Drawable. Returns the icon to be shown on subsequent dialogs.
DialogLayoutResourceint. Returns the layout resource that is used as the content View for subsequent dialogs.
DialogMessagestring. Documentation for this section has not yet been entered.
DialogMessageFormattedJava.Lang.ICharSequence. Returns the message to be shown on subsequent dialogs.
DialogTitlestring. Documentation for this section has not yet been entered.
DialogTitleFormattedJava.Lang.ICharSequence. Returns the title to be shown on subsequent dialogs.
NegativeButtonTextstring. Documentation for this section has not yet been entered.
NegativeButtonTextFormattedJava.Lang.ICharSequence. Returns the text of the negative button to be shown on subsequent dialogs.
PositiveButtonTextstring. Documentation for this section has not yet been entered.
PositiveButtonTextFormattedJava.Lang.ICharSequence. Returns the text of the positive button to be shown on subsequent dialogs.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnActivityDestroy()
See Activity's onDestroy.
OnClick(Android.Content.IDialogInterface, int)
This method will be invoked when a button in the dialog is clicked.
OnDismiss(Android.Content.IDialogInterface)
This method will be invoked when the dialog is dismissed.
SetDialogIcon(int)
Sets the icon (resource ID) of the dialog.
SetDialogMessage(int)
SetDialogTitle(int)
SetNegativeButtonText(int)
SetPositiveButtonText(int)

Protected Methods

OnBindDialogView(Android.Views.View)
Binds views in the content View of the dialog to data.
OnCreateDialogView() : Android.Views.View
Creates the content view for the dialog (if a custom content view is required).
OnDialogClosed(bool)
Called when the dialog is dismissed and should be used to save data to the Android.Content.ISharedPreferences.
OnPrepareDialogBuilder(Android.App.AlertDialog.Builder)
Prepares the dialog builder to be shown when the preference is clicked.
ShowDialog(Android.OS.Bundle)
Shows the dialog associated with this Preference.