ProgressDialog.Show 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.
Overloads
| Name | Description |
|---|---|
| Show(Context, ICharSequence, ICharSequence) |
Creates and shows a ProgressDialog. |
| Show(Context, String, String) |
Creates and shows a ProgressDialog. |
| Show(Context, ICharSequence, ICharSequence, Boolean) |
Creates and shows a ProgressDialog. |
| Show(Context, String, String, Boolean) |
Creates and shows a ProgressDialog. |
| Show(Context, ICharSequence, ICharSequence, Boolean, Boolean) |
Creates and shows a ProgressDialog. |
| Show(Context, String, String, Boolean, Boolean) |
Creates and shows a ProgressDialog. |
| Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener) |
Creates and shows a ProgressDialog. |
| Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler) | |
| Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener) |
Creates and shows a ProgressDialog. |
| Show(Context, String, String, Boolean, Boolean, EventHandler) |
Show(Context, ICharSequence, ICharSequence)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- ICharSequence
CharSequence: the title text for the dialog's window
- message
- ICharSequence
CharSequence: the text to be displayed in the dialog
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, String, String)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message);
static member Show : Android.Content.Context * string * string -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- String
CharSequence: the title text for the dialog's window
- message
- String
CharSequence: the text to be displayed in the dialog
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, ICharSequence, ICharSequence, Boolean)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- ICharSequence
CharSequence: the title text for the dialog's window
- message
- ICharSequence
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, String, String, Boolean)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate);
static member Show : Android.Content.Context * string * string * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- String
CharSequence: the title text for the dialog's window
- message
- String
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate, bool cancelable);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- ICharSequence
CharSequence: the title text for the dialog's window
- message
- ICharSequence
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, String, String, Boolean, Boolean)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate, bool cancelable);
static member Show : Android.Content.Context * string * string * bool * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- String
CharSequence: the title text for the dialog's window
- message
- String
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZLandroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate, bool cancelable, Android.Content.IDialogInterfaceOnCancelListener? cancelListener);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZLandroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool * Android.Content.IDialogInterfaceOnCancelListener -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- ICharSequence
CharSequence: the title text for the dialog's window
- message
- ICharSequence
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
- cancelListener
- IDialogInterfaceOnCancelListener
DialogInterface.OnCancelListener: the listener to be invoked when the dialog is canceled
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler)
public static Android.App.ProgressDialog? Show(Android.Content.Context context, Java.Lang.ICharSequence title, Java.Lang.ICharSequence message, bool indeterminate, bool cancelable, EventHandler cancelHandler);
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool * EventHandler -> Android.App.ProgressDialog
Parameters
- context
- Context
- title
- ICharSequence
- message
- ICharSequence
- indeterminate
- Boolean
- cancelable
- Boolean
- cancelHandler
- EventHandler
Returns
Remarks
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
Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate, bool cancelable, Android.Content.IDialogInterfaceOnCancelListener? cancelListener);
static member Show : Android.Content.Context * string * string * bool * bool * Android.Content.IDialogInterfaceOnCancelListener -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- String
CharSequence: the title text for the dialog's window
- message
- String
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
- cancelListener
- IDialogInterfaceOnCancelListener
DialogInterface.OnCancelListener: the listener to be invoked when the dialog is canceled
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.show.
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
Show(Context, String, String, Boolean, Boolean, EventHandler)
public static Android.App.ProgressDialog? Show(Android.Content.Context context, string title, string message, bool indeterminate, bool cancelable, EventHandler cancelHandler);
static member Show : Android.Content.Context * string * string * bool * bool * EventHandler -> Android.App.ProgressDialog
Parameters
- context
- Context
- title
- String
- message
- String
- indeterminate
- Boolean
- cancelable
- Boolean
- cancelHandler
- EventHandler
Returns
Remarks
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.