Skip to main content

MemoProperties.Rows Property

Gets or sets the number of text lines displayed by the memo editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public int Rows { get; set; }

Property Value

Type Default Description
Int32 0

An integer value specifying the number of rows within the editor.


This property is in effect if the editor’s height is not specified explicitly via the ASPxMemo.Height property.

By default, the memo editor wraps long text at the control’s right edge (which position is specified by either the editor’s Width or MemoProperties.Columns property). In this case, the editor implicitly adds new lines, though the text may not contain carriage return characters. The Rows property specifies the number of text lines the editor should contain taking into account both explicit and implicit line wraps.


The Rows property synchronizes its value with the editor’s ASPxMemo.Rows property.

See Also