Android.App.AlertDialog Members

The members of Android.App.AlertDialog are listed below.

See Also: Inherited members from Android.App.Dialog

Protected Constructors

Construct an AlertDialog that uses an explicit theme.
A constructor used when creating managed representations of JNI objects; called by the runtime.
Documentation for this section has not yet been entered.

Public Fields

const
ThemeDeviceDefaultDarkint (4). Special theme constant for AlertDialog(Android.Content.Context, System.Int32): use the device's default alert theme with a dark background.
const
ThemeDeviceDefaultLightint (5). Special theme constant for AlertDialog(Android.Content.Context, System.Int32): use the device's default alert theme with a light background.
const
ThemeHoloDarkint (2). Special theme constant for AlertDialog(Android.Content.Context, System.Int32): use the holographic alert theme with a dark background.
const
ThemeHoloLightint (3). Special theme constant for AlertDialog(Android.Content.Context, System.Int32): use the holographic alert theme with a light background.
const
ThemeTraditionalint (1). Special theme constant for AlertDialog(Android.Content.Context, System.Int32): use the traditional (pre-Holo) alert dialog theme.

Public Properties

[read-only]
ListViewAndroid.Widget.ListView. Gets the list view used in the dialog.

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

GetButton(int) : Android.Widget.Button
Gets one of the buttons used in the dialog.
SetButton(Java.Lang.ICharSequence, Android.Content.IDialogInterfaceOnClickListener)
Set a listener to be invoked when button 1 of the dialog is pressed.
SetButton(Java.Lang.ICharSequence, Android.OS.Message)
SetButton(Java.Lang.ICharSequence, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton(string, Android.Content.IDialogInterfaceOnClickListener)
Documentation for this section has not yet been entered.
SetButton(string, Android.OS.Message)
Documentation for this section has not yet been entered.
SetButton(string, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton(int, Java.Lang.ICharSequence, Android.Content.IDialogInterfaceOnClickListener)
Set a listener to be invoked when the positive button of the dialog is pressed.
SetButton(int, Java.Lang.ICharSequence, Android.OS.Message)
Set a message to be sent when a button is pressed.
SetButton(int, Java.Lang.ICharSequence, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton(int, string, Android.Content.IDialogInterfaceOnClickListener)
Documentation for this section has not yet been entered.
SetButton(int, string, Android.OS.Message)
Documentation for this section has not yet been entered.
SetButton(int, string, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton2(Java.Lang.ICharSequence, Android.Content.IDialogInterfaceOnClickListener)
Set a listener to be invoked when button 2 of the dialog is pressed.
SetButton2(Java.Lang.ICharSequence, Android.OS.Message)
SetButton2(Java.Lang.ICharSequence, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton2(string, Android.Content.IDialogInterfaceOnClickListener)
Documentation for this section has not yet been entered.
SetButton2(string, Android.OS.Message)
Documentation for this section has not yet been entered.
SetButton2(string, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton3(Java.Lang.ICharSequence, Android.Content.IDialogInterfaceOnClickListener)
Set a listener to be invoked when button 3 of the dialog is pressed.
SetButton3(Java.Lang.ICharSequence, Android.OS.Message)
SetButton3(Java.Lang.ICharSequence, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetButton3(string, Android.Content.IDialogInterfaceOnClickListener)
Documentation for this section has not yet been entered.
SetButton3(string, Android.OS.Message)
Documentation for this section has not yet been entered.
SetButton3(string, EventHandler<Android.Content.DialogClickEventArgs>)
Documentation for this section has not yet been entered.
SetCustomTitle(Android.Views.View)
SetIcon(Android.Graphics.Drawables.Drawable)
SetIcon(int)
Set resId to 0 if you don't want an icon.
SetIconAttribute(int)
Set an icon as supplied by a theme attribute. e.g. android.
SetInverseBackgroundForced(bool)
SetMessage(Java.Lang.ICharSequence)
SetMessage(string)
Documentation for this section has not yet been entered.
SetView(Android.Views.View)
Set the view to display in that dialog.
SetView(Android.Views.View, int, int, int, int)
Set the view to display in that dialog, specifying the spacing to appear around that view.