SelectionList.Rows 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置选择列表中的行数。 此 API 已过时。 有关如何开发 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,无最大值。