語言

ProgressDialog.SetProgressStyle(ProgressDialogStyle) 方法

定義

設定此 ProgressDialog 的樣式,或#STYLE_SPINNER#STYLE_HORIZONTAL為 。

[Android.Runtime.Register("setProgressStyle", "(I)V", "GetSetProgressStyle_IHandler")]
public virtual void SetProgressStyle(Android.App.ProgressDialogStyle style);
[<Android.Runtime.Register("setProgressStyle", "(I)V", "GetSetProgressStyle_IHandler")>]
abstract member SetProgressStyle : Android.App.ProgressDialogStyle -> unit
override this.SetProgressStyle : Android.App.ProgressDialogStyle -> unit

參數

style
ProgressDialogStyle

此 ProgressDialog 的風格,或#STYLE_SPINNER#STYLE_HORIZONTAL

屬性

備註

設定此 ProgressDialog 的樣式,可STYLE_SPINNER或STYLE_HORIZONTAL。 預設是STYLE_SPINNER。 注意:風格為 STYLE_SPINNER 的 ProgressDialogue 總是不確定,且會忽略不確定設定。

Android 參考資料。android.app.ProgressDialog.setProgressStyle

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於