语言

ProgressDialog.Show 方法

定义

重载

名称 说明
Show(Context, ICharSequence, ICharSequence)

创建并显示 ProgressDialog。

Show(Context, String, String)

创建并显示 ProgressDialog。

Show(Context, ICharSequence, ICharSequence, Boolean)

创建并显示 ProgressDialog。

Show(Context, String, String, Boolean)

创建并显示 ProgressDialog。

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean)

创建并显示 ProgressDialog。

Show(Context, String, String, Boolean, Boolean)

创建并显示 ProgressDialog。

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener)

创建并显示 ProgressDialog。

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler)
Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener)

创建并显示 ProgressDialog。

Show(Context, String, String, Boolean, Boolean, EventHandler)

Show(Context, ICharSequence, ICharSequence)

创建并显示 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

参数

context
Context

父上下文

title
ICharSequence

对话框窗口的标题文本

message
ICharSequence

要显示在对话框中的文本

返回

ProgressDialog

特性

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, String, String)

创建并显示 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

参数

context
Context

父上下文

title
String

对话框窗口的标题文本

message
String

要显示在对话框中的文本

返回

ProgressDialog

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, ICharSequence, ICharSequence, Boolean)

创建并显示 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

参数

context
Context

父上下文

title
ICharSequence

对话框窗口的标题文本

message
ICharSequence

要显示在对话框中的文本

indeterminate
Boolean

如果对话框应为 #setIndeterminate(boolean) indeterminatetrue,则为 false;否则为 false

返回

ProgressDialog

特性

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, String, String, Boolean)

创建并显示 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

参数

context
Context

父上下文

title
String

对话框窗口的标题文本

message
String

要显示在对话框中的文本

indeterminate
Boolean

如果对话框应为 #setIndeterminate(boolean) indeterminatetrue,则为 false;否则为 false

返回

ProgressDialog

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean)

创建并显示 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

参数

context
Context

父上下文

title
ICharSequence

对话框窗口的标题文本

message
ICharSequence

要显示在对话框中的文本

indeterminate
Boolean

如果对话框应为 #setIndeterminate(boolean) indeterminatetrue,则为 false;否则为 false

cancelable
Boolean

如果对话框为 #setCancelable(boolean) cancelabletrue,则为 false;否则为 false

返回

ProgressDialog

特性

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, String, String, Boolean, Boolean)

创建并显示 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

参数

context
Context

父上下文

title
String

对话框窗口的标题文本

message
String

要显示在对话框中的文本

indeterminate
Boolean

如果对话框应为 #setIndeterminate(boolean) indeterminatetrue,则为 false;否则为 false

cancelable
Boolean

如果对话框为 #setCancelable(boolean) cancelabletrue,则为 false;否则为 false

返回

ProgressDialog

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener)

创建并显示 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

参数

context
Context

上下文:父上下文

title
ICharSequence

CharSequence:对话框窗口的标题文本

message
ICharSequence

CharSequence:要显示在对话框中的文本

indeterminate
Boolean

boolean:如果对话应不确定,则为 true;否则为 false

cancelable
Boolean

boolean:如果对话框可取消,则为 true;否则为 false

cancelListener
IDialogInterfaceOnCancelListener

DialogInterface.OnCancelListener:取消对话时要调用的侦听器

返回

ProgressDialog

特性

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

参数

context
Context
message
ICharSequence
indeterminate
Boolean
cancelable
Boolean
cancelHandler
EventHandler

返回

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener)

创建并显示 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

参数

context
Context

上下文:父上下文

title
String

CharSequence:对话框窗口的标题文本

message
String

CharSequence:要显示在对话框中的文本

indeterminate
Boolean

boolean:如果对话应不确定,则为 true;否则为 false

cancelable
Boolean

boolean:如果对话框可取消,则为 true;否则为 false

cancelListener
IDialogInterfaceOnCancelListener

DialogInterface.OnCancelListener:取消对话时要调用的侦听器

返回

ProgressDialog

注解

创建并显示 ProgressDialog。

Android 参考。android.app.ProgressDialog.show

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

参数

context
Context
title
String
message
String
indeterminate
Boolean
cancelable
Boolean
cancelHandler
EventHandler

返回

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于