alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TextAreaValueChangeEventArgs

    Provides data for the value change event of the SfTextArea component.

    Inheritance
    System.Object
    TextAreaValueChangeEventArgs
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TextAreaValueChangeEventArgs : Object
    Remarks

    This class contains information about the value change event, including the old and new values, and whether the change was triggered by user interaction or programmatically.

    Constructors

    TextAreaValueChangeEventArgs()

    Declaration
    public TextAreaValueChangeEventArgs()

    Properties

    IsInteracted

    Gets or sets a value indicating whether the event is triggered by user interaction.

    Declaration
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the component has been interacted with by the user; otherwise, false.

    Remarks

    This property helps distinguish between user-initiated changes (such as typing or pasting) and programmatic changes made through code. This is useful for implementing custom validation logic or preventing infinite loops in event handlers.

    PreviousValue

    Gets or sets the previously entered value of the SfTextArea.

    Declaration
    public string PreviousValue { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the previous value of the TextArea. The default value is null.

    Remarks

    This property contains the value that was present in the TextArea before the current change occurred. It can be used to compare with the new value or to implement undo functionality.

    Value

    Gets or sets the current entered value of the SfTextArea.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the current value of the TextArea. The default value is null.

    Remarks

    This property contains the new value after the change has occurred. This is the value that will be displayed in the TextArea component after the event completes.

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