Spinner.SetPopupBackgroundResource(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定旋轉器跳出視窗的背景可繪製。
[Android.Runtime.Register("setPopupBackgroundResource", "(I)V", "GetSetPopupBackgroundResource_IHandler")]
public virtual void SetPopupBackgroundResource(int resId);
[<Android.Runtime.Register("setPopupBackgroundResource", "(I)V", "GetSetPopupBackgroundResource_IHandler")>]
abstract member SetPopupBackgroundResource : int -> unit
override this.SetPopupBackgroundResource : int -> unit
參數
- resId
- Int32
背景可繪製物件的資源識別碼
- 屬性
備註
設定旋轉器跳出視窗的背景可繪製。 僅在 中有效 #MODE_DROPDOWN;此方法在其他模式中是 no-op。
Java 文件 android.widget.Spinner.setPopupBackgroundResource(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。