Back to Devexpress

MemoResizeMode Enum

blazor-devexpress-dot-blazor-60f2a51e.md

latest2.0 KB
Original Source

MemoResizeMode Enum

Lists resize modes for the Memo component.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum MemoResizeMode

Members

NameDescription
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.

|

The following properties accept/return MemoResizeMode values:

Remarks

The following code specifies the VerticalAndHorizontal resize mode:

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

Run Demo: Memo - Resize Modes

See Also

DevExpress.Blazor Namespace