blazor-devexpress-dot-blazor-dot-dxmemo-3306d6c0.md
Specifies the initial number of visible text lines. In Auto resize mode, specifies the minimum number of visible text lines.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(2)]
[Parameter]
public int Rows { get; set; }
| Type | Default | Description |
|---|---|---|
| Int32 | 2 |
The number of visible text lines.
|
Use the Rows property to specify the number of visible text lines in the Memo component. When content exceeds this limit, the Memo displays a vertical scrollbar.
Note
In Auto resize mode, this property specifies the minimum number of text lines.
<DxMemo @bind-Text="@TextValue"
Rows="8"
Columns="50">
</DxMemo>
@code {
string TextValue { get; set; } =
"Prepare 2020 Marketing Plan: We need to double revenues in 2020 "+
"and our marketing strategy is going to be key here. " +
"R&D is improving existing products and creating new products so we can "+
"deliver great AV equipment to our customers. " +
"Robert, please make certain to create a PowerPoint presentation "+"" +
"for the members of the executive team.";
}
MaxRowsSpecifies the maximum number of visible text lines.ColumnsSpecifies the Memo’s display width (the number of characters).ResizeModeSpecifies how the Memo component can be resized. See Also