Skip to main content
A newer version of this page is available. .
Tab

MemoProperties.Rows Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(0)]
public int Rows { get; set; }

Property Value

Type Default Description
Int32 0

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

Remarks

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.

Note

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

See Also