Skip to main content

DxMemo.Columns Property

Specifies the Memo’s display width (the number of characters).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public int Columns { get; set; }

Property Value

Type Default Description
Int32 0

The number of characters.


The Memo editor stretches to fit the parent container’s width. To change this behavior, use the Columns property to specify the number of characters the editor should display in one line.


Use the Rows property to specify the number of text lines in the editor.

<DxMemo @bind-Text="@TextValue"

@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.";

Memo - Custom Size

Run Demo: Memo - Custom Size

See Also