Class TextAreaValueChangeEventArgs
Provides data for the value change event of the SfTextArea component.
Inheritance
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 |
|
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 |
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 |
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.