語言

ArrayAdapter.SetDropDownViewResource(Int32) 方法

定義

設定版面資源來建立下拉選單視圖。

[Android.Runtime.Register("setDropDownViewResource", "(I)V", "GetSetDropDownViewResource_IHandler")]
public virtual void SetDropDownViewResource(int resource);
[<Android.Runtime.Register("setDropDownViewResource", "(I)V", "GetSetDropDownViewResource_IHandler")>]
abstract member SetDropDownViewResource : int -> unit
override this.SetDropDownViewResource : int -> unit

參數

resource
Int32

定義下拉選單視圖的版面資源

屬性

備註

設定版面資源來建立下拉選單視圖。

Java 文件 android.widget.ArrayAdapter.setDropDownViewResource(int)。

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

適用於