Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET ListBox Rows Property

ASP.NET Rows Property


ListBox Control ListBox control


Definition and Usage

The property is used to get or set the number of visible rows (without scrolling) in the ListBox.

Syntax

Some Content

property Description
num Specifies the number of visible rows (without scrolling) in the ListBox.

Example

The following example sets the Rows property of a ListBox control:

  

  

  

  

  

Demo Example »


ListBox Control ListBox control