alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum Resize

    Defines the resize behavior and directional constraints for TextArea components, controlling how users can dynamically adjust the input area dimensions.

    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum Resize
    Remarks

    The resize functionality allows users to adjust the TextArea dimensions to accommodate varying content lengths and personal preferences. Different resize modes provide flexibility while maintaining layout integrity:

    • None: Maintains fixed dimensions for consistent layouts
    • Vertical: Allows height adjustment for accommodating more text lines
    • Horizontal: Allows width adjustment for longer text lines
    • Both: Provides maximum flexibility for user customization
    Consider the layout requirements and user needs when selecting the appropriate resize mode.
    Examples

    Configuring TextArea resize behavior:

    <SfTextArea ResizeMode="Resize.Vertical" Placeholder="Enter your message"></SfTextArea>

    Fields

    Name Description
    Both

    The TextArea component can be resized in both vertical and horizontal directions, providing complete dimensional flexibility.

    Horizontal

    The TextArea component can be resized horizontally to adjust width while maintaining a fixed height.

    None

    The TextArea component maintains fixed dimensions and cannot be resized by the user in any direction.

    Vertical

    The TextArea component can be resized vertically to adjust height while maintaining a fixed width.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved