Skip to main content

MemoResizeMode Enum

Lists resize modes for the Memo component.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v25.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum MemoResizeMode

Members

Name Description
Disabled

Users cannot resize the component.

Vertical

Users can resize the component vertically.

Horizontal

Users can resize the component horizontally.

Auto

The Memo changes its height automatically based on content. Users cannot resize the component.

VerticalAndHorizontal

Users can resize the component in both directions.

Related API Members

The following properties accept/return MemoResizeMode values:

Remarks

The following code specifies the VerticalAndHorizontal resize mode:

<DxMemo @bind-Text="@TextValue"
        ResizeMode="MemoResizeMode.VerticalAndHorizontal">
</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.";

Memo - VerticalAndHorizontal Resize Mode

Run Demo: Memo - Resize Modes

See Also