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

ASP.NET TextBox Rows Property

ASP.NET TextBox Rows Property


TextBox control TextBox Control


Definition and Usage

The Rows property is used to set or return the height of the TextBox control.

This property is used only when TextMode="Multiline".

Syntax

/>

 

property Description
num A numeric value that specifies the height of the text box, in number of lines.

Example

The following example sets the height of a TextBox control:

TextMode="MultiLine" Rows="5" />

Demo Example »


TextBox control TextBox Control