語言

SelectionList.Rows 屬性

定義

取得或設定選取清單中的列數。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property int Rows { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
public int Rows { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
member this.Rows : int with get, set
Public Property Rows As Integer

屬性值

選擇清單中的列數。

屬性

例外狀況

嘗試將該值設 SelectionList 為小於零。

備註

預設值為4;最低值為1,且無最大值。

適用於

另請參閱