GridLayout.RowCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳目前的列數。 -或- RowCount 僅用於產生元件配置參數未指定預設的列/欄索引。
public virtual int RowCount { [Android.Runtime.Register("getRowCount", "()I", "GetGetRowCountHandler")] get; [Android.Runtime.Register("setRowCount", "(I)V", "GetSetRowCount_IHandler")] set; }
[<get: Android.Runtime.Register("getRowCount", "()I", "GetGetRowCountHandler")>]
[<set: Android.Runtime.Register("setRowCount", "(I)V", "GetSetRowCount_IHandler")>]
member this.RowCount : int with get, set
屬性值
目前的列數
- 屬性
備註
財產取得者文件:
回傳目前的列數。 這要麼是最後一個被設定的 #setRowCount(int) 值,要麼如果沒有設定,則是定義在 LayoutParams#rowSpec中的每個上界的最大值。
Java 文件 android.widget.GridLayout.getRowCount()。
屬性設定文件:
RowCount 僅用於產生元件配置參數未指定預設的列/欄索引。
Java 文件 android.widget.GridLayout.setRowCount(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。